glib r7660 - trunk/gio
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7660 - trunk/gio
- Date: Thu, 20 Nov 2008 23:58:39 +0000 (UTC)
Author: cosimoc
Date: Thu Nov 20 23:58:39 2008
New Revision: 7660
URL: http://svn.gnome.org/viewvc/glib?rev=7660&view=rev
Log:
2008-11-21 Cosimo Cecchi <cosimoc gnome org>
Bug 561352 â Leak of icon description
* gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
generic icon string.
Modified:
trunk/gio/ChangeLog
trunk/gio/gcontenttype.c
Modified: trunk/gio/gcontenttype.c
==============================================================================
--- trunk/gio/gcontenttype.c (original)
+++ trunk/gio/gcontenttype.c Thu Nov 20 23:58:39 2008
@@ -791,6 +791,7 @@
themed_icon = g_themed_icon_new_from_names (icon_names, n);
g_free (xdg_mimetype_icon);
+ g_free (xdg_mimetype_generic_icon);
g_free (mimetype_icon);
g_free (legacy_mimetype_icon);
g_free (generic_mimetype_icon);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]