glib r7292 - in trunk/gio: . xdgmime
- From: carlosgc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7292 - in trunk/gio: . xdgmime
- Date: Sun, 3 Aug 2008 18:49:13 +0000 (UTC)
Author: carlosgc
Date: Sun Aug 3 18:49:12 2008
New Revision: 7292
URL: http://svn.gnome.org/viewvc/glib?rev=7292&view=rev
Log:
2008-08-03 Carlos Garcia Campos <carlosgc gnome org>
Bug 546079 â leak in xdgmime
* xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
Modified:
trunk/gio/ChangeLog
trunk/gio/xdgmime/xdgmime.c
Modified: trunk/gio/xdgmime/xdgmime.c
==============================================================================
--- trunk/gio/xdgmime/xdgmime.c (original)
+++ trunk/gio/xdgmime/xdgmime.c Sun Aug 3 18:49:12 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]