Commit 96b8743e authored by Christian Persch's avatar Christian Persch
Browse files

Bug 554698 – mem leak in filechooser

svn path=/trunk/; revision=21570
parent ab8c1616
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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment