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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Sep 20 09:52:27 EEST 2007
Author: jobi
Date: 2007-09-20 09:52:25 +0300 (Thu, 20 Sep 2007)
New Revision: 13926

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/src/hd-home-background.c
   projects/haf/trunk/hildon-desktop/src/hd-select-plugins-dialog.c
Log:

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

	* src/hd-select-plugins-dialog.c, src/hd-home-background.c:
	- Fixed memory leaks. Fixes: NB#70273



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-19 15:03:51 UTC (rev 13925)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-20 06:52:25 UTC (rev 13926)
@@ -1,3 +1,8 @@
+2007-09-20 Johan Bilien  <johan.bilien at nokia.com>
+
+	* src/hd-select-plugins-dialog.c, src/hd-home-background.c:
+	- Fixed memory leaks. Fixes: NB#70273
+
 2007-09-19  Moises Martinez  <moises.martinez at nokia.com>
 
 	* src/hd-switcher-menu.c: (hd_switcher_create_external_window):

Modified: projects/haf/trunk/hildon-desktop/src/hd-home-background.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-home-background.c	2007-09-19 15:03:51 UTC (rev 13925)
+++ projects/haf/trunk/hildon-desktop/src/hd-home-background.c	2007-09-20 06:52:25 UTC (rev 13926)
@@ -346,6 +346,7 @@
 cleanup:
   g_free (smode);
   g_free (filename);
+  g_free (cache);
   g_key_file_free (keyfile);
   if (local_error)
     g_propagate_error (error, local_error);

Modified: projects/haf/trunk/hildon-desktop/src/hd-select-plugins-dialog.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-select-plugins-dialog.c	2007-09-19 15:03:51 UTC (rev 13925)
+++ projects/haf/trunk/hildon-desktop/src/hd-select-plugins-dialog.c	2007-09-20 06:52:25 UTC (rev 13926)
@@ -228,7 +228,8 @@
                         HD_SPD_COLUMN_DESKTOP_FILE, desktop_path,
                         -1);
 
-    g_free(text_domain);
+    g_free (desktop_path);
+    g_free (text_domain);
     g_free (name);
   }
 


More information about the maemo-commits mailing list