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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Sep 27 10:43:34 EEST 2007
Author: jobi
Date: 2007-09-27 10:43:33 +0300 (Thu, 27 Sep 2007)
New Revision: 14135

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): free
	the KeyFile in case of error.



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-27 07:41:03 UTC (rev 14134)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-27 07:43:33 UTC (rev 14135)
@@ -1,5 +1,10 @@
 2007-09-27 Johan Bilien  <johan.bilien at nokia.com>
 
+	* src/hd-desktop.c (hd_desktop_plugin_list_from_conf): free
+	the KeyFile in case of error.
+
+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/src/hd-desktop.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-desktop.c	2007-09-27 07:41:03 UTC (rev 14134)
+++ projects/haf/trunk/hildon-desktop/src/hd-desktop.c	2007-09-27 07:43:33 UTC (rev 14135)
@@ -483,6 +483,7 @@
   if (error)
   {
     g_warning ("Error loading container configuration file %s: %s", config_file, error->message);
+    g_key_file_free (keyfile);
     g_error_free (error);
     
     return NULL;


More information about the maemo-commits mailing list