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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Sep 27 10:41:04 EEST 2007
Author: jobi
Date: 2007-09-27 10:41:03 +0300 (Thu, 27 Sep 2007)
New Revision: 14134

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

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

	* src/hd-desktop.c (hd_desktop_plugin_list_from_conf): use
	g_strfreev() to free the list of groups returned by gconf. Fixes
	a leak of strings



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-27 07:31:13 UTC (rev 14133)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-27 07:41:03 UTC (rev 14134)
@@ -1,5 +1,11 @@
 2007-09-27 Johan Bilien  <johan.bilien at nokia.com>
 
+	* src/hd-desktop.c (hd_desktop_plugin_list_from_conf): use
+	g_strfreev() to free the list of groups returned by gconf. Fixes
+	a leak of strings
+
+2007-09-27 Johan Bilien  <johan.bilien at nokia.com>
+
 	* libhildondesktop/hildon-desktop-notification-manager.c: unref
 	the notification icon after storing it in the ListStore, to avoid
 	leaking it

Modified: projects/haf/trunk/hildon-desktop/src/hd-desktop.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-desktop.c	2007-09-27 07:31:13 UTC (rev 14133)
+++ projects/haf/trunk/hildon-desktop/src/hd-desktop.c	2007-09-27 07:41:03 UTC (rev 14134)
@@ -508,7 +508,7 @@
       plugin_list = g_list_append (plugin_list, groups[i]);
   }
 
-  g_free (groups);
+  g_strfreev (groups);
   g_key_file_free (keyfile);
 
   return plugin_list;


More information about the maemo-commits mailing list