mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
Bug 546079 – leak in xdgmime
2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org> Bug 546079 – leak in xdgmime * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak. svn path=/trunk/; revision=7292
This commit is contained in:
parent
506eed4ebd
commit
f5edeb8c0f
@ -1,3 +1,9 @@
|
||||
2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
|
||||
|
||||
Bug 546079 – leak in xdgmime
|
||||
|
||||
* xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
|
||||
|
||||
2008-08-03 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* win32/gwin32directorymonitor.h
|
||||
|
@ -628,6 +628,18 @@ xdg_mime_shutdown (void)
|
||||
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)
|
||||
{
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user