[maemo-commits] [maemo-commits] r14151 - in projects/haf/trunk/hildon-desktop: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Sep 28 10:07:23 EEST 2007
Author: jobi
Date: 2007-09-28 10:07:21 +0300 (Fri, 28 Sep 2007)
New Revision: 14151

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/src/hd-panel-window.c
Log:

2007-09-28 Johan Bilien  <johan.bilien at nokia.com>

	* src/hd-panel-window.c (hd_panel_window_cadd): fixed leak of
	a GList



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-27 14:23:31 UTC (rev 14150)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-28 07:07:21 UTC (rev 14151)
@@ -1,3 +1,8 @@
+2007-09-28 Johan Bilien  <johan.bilien at nokia.com>
+
+	* src/hd-panel-window.c (hd_panel_window_cadd): fixed leak of
+	a GList
+
 2007-09-27  Lucas Rocha  <lucas.rocha at nokia.com>
 
 	* src/hd-applications-menu.c (hd_applications_menu_create_menu):

Modified: projects/haf/trunk/hildon-desktop/src/hd-panel-window.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-panel-window.c	2007-09-27 14:23:31 UTC (rev 14150)
+++ projects/haf/trunk/hildon-desktop/src/hd-panel-window.c	2007-09-28 07:07:21 UTC (rev 14151)
@@ -88,6 +88,7 @@
 {
   GList *children = gtk_container_get_children (container);
   gint position = g_list_length (children) - 1;
+  g_list_free (children);
  
   if (position == 0)
   {


More information about the maemo-commits mailing list