free display->input_windows with g_free(), not g_object_unref() (#357566,
2006-09-25 Michael Natterer <mitch@imendio.com> * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free display->input_windows with g_free(), not g_object_unref() (#357566, Tommi Komulainen).
This commit is contained in:
committed by
Michael Natterer
parent
7dbaf7ef5c
commit
e049989bc3
@ -785,7 +785,7 @@ gdk_display_x11_finalize (GObject *object)
|
||||
g_list_free (display_x11->input_devices);
|
||||
|
||||
/* input GdkWindow list */
|
||||
g_list_foreach (display_x11->input_windows, (GFunc) g_object_unref, NULL);
|
||||
g_list_foreach (display_x11->input_windows, (GFunc) g_free, NULL);
|
||||
g_list_free (display_x11->input_windows);
|
||||
|
||||
/* Free all GdkScreens */
|
||||
|
||||
Reference in New Issue
Block a user