mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 10:42:11 +01:00
Don't leak apps_by_name in GBookmarkFile metadata items
2008-04-09 Federico Mena Quintero <federico@novell.com> Merged from trunk: * glib/gbookmarkfile.c (bookmark_metadata_free): Don't leak the apps_by_name hash table if the applications list is empty. Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/branches/glib-2-16/; revision=6847
This commit is contained in:
parent
d386e074e8
commit
7faf0095ff
@ -1,3 +1,10 @@
|
||||
2008-04-09 Federico Mena Quintero <federico@novell.com>
|
||||
|
||||
Merged from trunk:
|
||||
|
||||
* glib/gbookmarkfile.c (bookmark_metadata_free): Don't leak
|
||||
the apps_by_name hash table if the applications list is empty.
|
||||
|
||||
2008-04-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version
|
||||
|
@ -325,10 +325,10 @@ bookmark_metadata_free (BookmarkMetadata *metadata)
|
||||
(GFunc) bookmark_app_info_free,
|
||||
NULL);
|
||||
g_list_free (metadata->applications);
|
||||
|
||||
g_hash_table_destroy (metadata->apps_by_name);
|
||||
}
|
||||
|
||||
|
||||
g_hash_table_destroy (metadata->apps_by_name);
|
||||
|
||||
g_free (metadata->icon_href);
|
||||
g_free (metadata->icon_mime);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user