[gtk+/xi2: 1005/1239] GdkDeviceXI2: Plug a leak.



commit 13378968e51545017437279e456d8f25bd7adaa4
Author: Carlos Garnacho <carlos gnome org>
Date:   Fri Sep 4 03:28:23 2009 +0200

    GdkDeviceXI2: Plug a leak.

 gdk/x11/gdkdevice-xi2.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/x11/gdkdevice-xi2.c b/gdk/x11/gdkdevice-xi2.c
index 864f2ee..f4b1a34 100644
--- a/gdk/x11/gdkdevice-xi2.c
+++ b/gdk/x11/gdkdevice-xi2.c
@@ -320,6 +320,8 @@ gdk_device_xi2_grab (GdkDevice    *device,
                          owner_events,
                          &mask);
 
+  g_free (mask.mask);
+
   return gdk_x11_convert_grab_status (status);
 }
 



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