[gtk+/gtk-3-20] gdkevents: Free motion events discarded by motion compression
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-20] gdkevents: Free motion events discarded by motion compression
- Date: Thu, 5 May 2016 19:23:29 +0000 (UTC)
commit 25672b7f39b414052e27c9215a9db294f7d6d055
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun May 1 20:05:56 2016 +0200
gdkevents: Free motion events discarded by motion compression
Those should be freed together with their list link.
gdk/gdkevents.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index 0d2e7ea..0102903 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]