From 25672b7f39b414052e27c9215a9db294f7d6d055 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Sun, 1 May 2016 20:05:56 +0200 Subject: gdkevents: Free motion events discarded by motion compression Those should be freed together with their list link. --- gdk/gdkevents.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index 0d2e7eaab8..0102903ff1 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -295,6 +295,7 @@ _gdk_event_queue_handle_motion_compression (GdkDisplay *display) while (pending_motions && pending_motions->next != NULL) { GList *next = pending_motions->next; + gdk_event_free (pending_motions->data); display->queued_events = g_list_delete_link (display->queued_events, pending_motions); pending_motions = next; -- cgit v1.2.1