diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2016-05-01 20:05:56 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-05-05 15:04:01 -0400 |
commit | 25672b7f39b414052e27c9215a9db294f7d6d055 (patch) | |
tree | 2444095d652ed12fb1a52e3ba4cb9e6cd8669027 | |
parent | 106550625759a787254384de913242b4f2064e88 (diff) | |
download | gtk+-25672b7f39b414052e27c9215a9db294f7d6d055.tar.gz |
gdkevents: Free motion events discarded by motion compression
Those should be freed together with their list link.
-rw-r--r-- | gdk/gdkevents.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |