mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-15 20:25:12 +01:00
Bug 561352 – Leak of icon description
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. svn path=/trunk/; revision=7660
This commit is contained in:
parent
dca2f339d5
commit
8dc9c875ff
@ -1,3 +1,10 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2008-11-14 Matthias Clasen <mclasen@redhat.com>
|
2008-11-14 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
|
* gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
|
||||||
|
@ -791,6 +791,7 @@ g_content_type_get_icon (const char *type)
|
|||||||
themed_icon = g_themed_icon_new_from_names (icon_names, n);
|
themed_icon = g_themed_icon_new_from_names (icon_names, n);
|
||||||
|
|
||||||
g_free (xdg_mimetype_icon);
|
g_free (xdg_mimetype_icon);
|
||||||
|
g_free (xdg_mimetype_generic_icon);
|
||||||
g_free (mimetype_icon);
|
g_free (mimetype_icon);
|
||||||
g_free (legacy_mimetype_icon);
|
g_free (legacy_mimetype_icon);
|
||||||
g_free (generic_mimetype_icon);
|
g_free (generic_mimetype_icon);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user