[gtk+] Do not leak devices list in do_focus_change
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Do not leak devices list in do_focus_change
- Date: Wed, 23 Jun 2010 10:46:41 +0000 (UTC)
commit d17fbd06cb982ed3a9a9a64131f560e511c151da
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]