Merge branch 'master' into 'master'

window: Fix memory leak

See merge request GNOME/gtk!295
This commit is contained in:
Matthias Clasen 2018-08-13 19:33:56 +00:00
commit bbe362d015

View File

@ -10985,6 +10985,7 @@ gtk_window_export_handle (GtkWindow *window,
handle_str = g_strdup_printf ("x11:%x", xid); handle_str = g_strdup_printf ("x11:%x", xid);
callback (window, handle_str, user_data); callback (window, handle_str, user_data);
g_free (handle_str);
return TRUE; return TRUE;
} }