[gtk+/xi2] check_grab_unmap() should free list.



commit 0a990ea7a387fafcb88c777a44ce911496c1445a
Author: Kristian Rietveld <kris gtk org>
Date:   Mon May 10 22:26:05 2010 +0200

    check_grab_unmap() should free list.
    
    Pointed out by Carlos Garnacho.

 gdk/quartz/gdkwindow-quartz.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index f1aa026..9824964 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -155,6 +155,8 @@ check_grab_unmap (GdkWindow *window)
     {
       _gdk_display_end_device_grab (display, l->data, 0, window, TRUE);
     }
+
+  g_list_free (list);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]