forked from AuroraMiddleware/gtk
Bug 554698 – mem leak in filechooser
svn path=/trunk/; revision=21570
This commit is contained in:
parent
ab8c161601
commit
96b8743e95
@ -1,3 +1,9 @@
|
||||
2008-10-02 Christian Persch
|
||||
|
||||
Bug 554698 – mem leak in filechooser
|
||||
|
||||
* gtk/gtkfilechooserdefault.c: Plug a mem leak.
|
||||
|
||||
2008-10-02 Christian Persch
|
||||
|
||||
Bug 554696 – invalid free function used
|
||||
|
@ -2186,6 +2186,7 @@ shortcuts_add_bookmarks (GtkFileChooserDefault *impl)
|
||||
|
||||
bookmarks = _gtk_file_system_list_bookmarks (impl->file_system);
|
||||
shortcuts_append_bookmarks (impl, bookmarks);
|
||||
g_slist_foreach (bookmarks, (GFunc) g_object_unref, NULL);
|
||||
g_slist_free (bookmarks);
|
||||
|
||||
if (impl->num_bookmarks == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user