mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 04:10:13 +00:00
GdkEvent: Unref user_data in free
gdk_event_set_user_data refs it and this was creating pretty bad leaks.
This commit is contained in:
parent
535529ca98
commit
74ce20451f
@ -766,6 +766,7 @@ gdk_event_free (GdkEvent *event)
|
||||
private = (GdkEventPrivate *) event;
|
||||
g_clear_object (&private->device);
|
||||
g_clear_object (&private->source_device);
|
||||
g_clear_object (&private->user_data);
|
||||
}
|
||||
|
||||
switch (event->any.type)
|
||||
|
Loading…
Reference in New Issue
Block a user