gtk+ r21576 - in branches/gtk-2-14: . gtk



Author: chpe
Date: Thu Oct  2 19:55:47 2008
New Revision: 21576
URL: http://svn.gnome.org/viewvc/gtk+?rev=21576&view=rev

Log:
Bug 554698 â mem leak in filechooser

Modified:
   branches/gtk-2-14/ChangeLog
   branches/gtk-2-14/gtk/gtkfilechooserdefault.c

Modified: branches/gtk-2-14/gtk/gtkfilechooserdefault.c
==============================================================================
--- branches/gtk-2-14/gtk/gtkfilechooserdefault.c	(original)
+++ branches/gtk-2-14/gtk/gtkfilechooserdefault.c	Thu Oct  2 19:55:47 2008
@@ -2186,6 +2186,7 @@
 
   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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]