[maemo-commits] [maemo-commits] r11066 - projects/haf/trunk/hildon-fm/hildon-fm

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Apr 16 14:54:16 EEST 2007
Author: marivoll
Date: 2007-04-16 14:54:13 +0300 (Mon, 16 Apr 2007)
New Revision: 11066

Modified:
   projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-info.c
Log:
	* hildon-fm/hildon-file-system-info.c
	(hildon_file_system_info_free): Use g_free instead of g_slice_free
	to free the HildonFileSystemInfo structure since we have allocated
	it with g_new0.  Thanks to Russel Martyn.


Modified: projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-info.c
===================================================================
--- projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-info.c	2007-04-16 11:50:03 UTC (rev 11065)
+++ projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-info.c	2007-04-16 11:54:13 UTC (rev 11066)
@@ -70,7 +70,7 @@
   g_free(info->name_cache);
   g_object_unref(info->fs);
   
-  g_slice_free(HildonFileSystemInfo, info);
+  g_free (info);
 }
 
 


More information about the maemo-commits mailing list