gnome-vfs r5488 - in trunk: . libgnomevfs
- From: carlosgc svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-vfs r5488 - in trunk: . libgnomevfs
- Date: Sun, 3 Aug 2008 18:49:46 +0000 (UTC)
Author: carlosgc
Date: Sun Aug 3 18:49:46 2008
New Revision: 5488
URL: http://svn.gnome.org/viewvc/gnome-vfs?rev=5488&view=rev
Log:
2008-08-03 Carlos Garcia Campos <carlosgc gnome org>
* libgnomevfs/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
Modified:
trunk/ChangeLog
trunk/libgnomevfs/xdgmime.c
Modified: trunk/libgnomevfs/xdgmime.c
==============================================================================
--- trunk/libgnomevfs/xdgmime.c (original)
+++ trunk/libgnomevfs/xdgmime.c Sun Aug 3 18:49:46 2008
@@ -627,6 +627,18 @@
_xdg_mime_parent_list_free (parent_list);
parent_list = NULL;
}
+
+ if (icon_list)
+ {
+ _xdg_mime_icon_list_free (icon_list);
+ icon_list = NULL;
+ }
+
+ if (generic_icon_list)
+ {
+ _xdg_mime_icon_list_free (generic_icon_list);
+ generic_icon_list = NULL;
+ }
if (_caches)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]