Don't unref the GFile we just put into the search_model. This adds a new

2008-09-07  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilechooserdefault.c (search_add_hit): Don't unref the
        GFile we just put into the search_model. This adds a new memory
        leak...



svn path=/trunk/; revision=21315
This commit is contained in:
Matthias Clasen 2008-09-08 01:05:50 +00:00 committed by Matthias Clasen
parent 4b97ecb8f9
commit f2c0fa2ce9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-09-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (search_add_hit): Don't unref the
GFile we just put into the search_model. This adds a new memory
leak...
2008-09-07 Matthias Clasen <mclasen@redhat.com> 2008-09-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_append_bookmarks): Plug * gtk/gtkfilechooserdefault.c (shortcuts_append_bookmarks): Plug

View File

@ -8677,7 +8677,6 @@ search_add_hit (GtkFileChooserDefault *impl,
SEARCH_MODEL_COL_CANCELLABLE, cancellable, SEARCH_MODEL_COL_CANCELLABLE, cancellable,
-1); -1);
g_object_unref (file);
g_free (filename); g_free (filename);
} }