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:
Timm Bäder 2017-09-26 12:49:32 +02:00
parent 535529ca98
commit 74ce20451f

View File

@ -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)