window: Fix memory leak

https://gitlab.gnome.org/GNOME/gtk/issues/1268
This commit is contained in:
Yi-Soo An 2018-08-13 17:21:42 +09:00
parent ed36933232
commit b3c8c8e592

View File

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