mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-25 11:42:10 +01:00
Don't leak apps_by_name in GBookmarkFile metadata items
2008-04-09 Federico Mena Quintero <federico@novell.com> * 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=/trunk/; revision=6846
This commit is contained in:
parent
105dc15a03
commit
0c153b46e2
@ -1,3 +1,8 @@
|
||||
2008-04-09 Federico Mena Quintero <federico@novell.com>
|
||||
|
||||
* glib/gbookmarkfile.c (bookmark_metadata_free): Don't leak
|
||||
the apps_by_name hash table if the applications list is empty.
|
||||
|
||||
2008-04-08 Behdad Esfahbod <behdad@gnome.org>
|
||||
|
||||
* glib/gunicode.h: Add ISO 15924 code comments for new scripts.
|
||||
|
@ -325,9 +325,9 @@ 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_free (metadata->icon_href);
|
||||
g_free (metadata->icon_mime);
|
||||
|
Loading…
x
Reference in New Issue
Block a user