summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserdefault.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2008-09-08 01:05:50 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-09-08 01:05:50 +0000
commitf2c0fa2ce9dabb02e4af250d1b4c02ddd201ebe9 (patch)
treeefc893cf00a77af94a1bc8b694e9531d5916c31e /gtk/gtkfilechooserdefault.c
parent4b97ecb8f9380a6517d650db7f68c826861b00d3 (diff)
downloadgtk+-f2c0fa2ce9dabb02e4af250d1b4c02ddd201ebe9.tar.gz
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
Diffstat (limited to 'gtk/gtkfilechooserdefault.c')
-rw-r--r--gtk/gtkfilechooserdefault.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 6b72c4fd22..a4fcb750ec 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -8677,7 +8677,6 @@ search_add_hit (GtkFileChooserDefault *impl,
SEARCH_MODEL_COL_CANCELLABLE, cancellable,
-1);
- g_object_unref (file);
g_free (filename);
}