glib r7661 - branches/glib-2-18/gio
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7661 - branches/glib-2-18/gio
- Date: Thu, 20 Nov 2008 23:59:30 +0000 (UTC)
Author: cosimoc
Date: Thu Nov 20 23:59:29 2008
New Revision: 7661
URL: http://svn.gnome.org/viewvc/glib?rev=7661&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:
branches/glib-2-18/gio/ChangeLog
branches/glib-2-18/gio/gcontenttype.c
Modified: branches/glib-2-18/gio/gcontenttype.c
==============================================================================
--- branches/glib-2-18/gio/gcontenttype.c (original)
+++ branches/glib-2-18/gio/gcontenttype.c Thu Nov 20 23:59:29 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]