[gtk+/native-layout: 51/59] Do not leak devices list in do_focus_change
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout: 51/59] Do not leak devices list in do_focus_change
- Date: Thu, 24 Jun 2010 23:25:26 +0000 (UTC)
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]