[gtk+/native-layout: 51/59] Do not leak devices list in do_focus_change



commit c683dffa9eb4a355388d468f556d19c3129b73f9
Author: Paolo Borelli <pborelli gnome org>
Date:   Wed Jun 23 12:43:30 2010 +0200

    Do not leak devices list in do_focus_change

 gtk/gtkwindow.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 41724a8..e09d730 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5334,6 +5334,8 @@ do_focus_change (GtkWidget *widget,
 
       gdk_event_free (fevent);
     }
+
+  g_list_free (devices);
 }
 
 static gint



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