Commit f2c0fa2c authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

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
parent 4b97ecb8
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
......
...@@ -8677,7 +8677,6 @@ search_add_hit (GtkFileChooserDefault *impl, ...@@ -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);
} }
......
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