[gtk+/xi2: 927/1239] GdkDeviceManagerXI2: plug memory leak.



commit 1c47a55f4dc12cf3dcd76b8c0502fa4d212172f2
Author: Carlos Garnacho <carlos lanedo com>
Date:   Sat Aug 29 17:17:39 2009 +0200

    GdkDeviceManagerXI2: plug memory leak.

 gdk/x11/gdkdevicemanager-xi2.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/x11/gdkdevicemanager-xi2.c b/gdk/x11/gdkdevicemanager-xi2.c
index b3fe903..7bddc9e 100644
--- a/gdk/x11/gdkdevicemanager-xi2.c
+++ b/gdk/x11/gdkdevicemanager-xi2.c
@@ -1098,4 +1098,5 @@ gdk_device_manager_xi2_select_window_events (GdkEventTranslator *translator,
   event_mask.mask = gdk_device_xi2_translate_event_mask (evmask, &event_mask.mask_len);
 
   _gdk_device_manager_xi2_select_events (device_manager, window, &event_mask);
+  g_free (event_mask.mask);
 }



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