summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-09-21 05:21:00 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-09-21 05:21:00 +0000
commit50d7cf9db41ebbe34b3e2e969d6aaf955d96c5e0 (patch)
treeecc776af31d40263c61564b3f32448208a977aa7 /gtk/gtkfilechooserbutton.c
parentc4e3880ce42545c914fdaf7f41de8ccb40b1c642 (diff)
downloadgtk+-50d7cf9db41ebbe34b3e2e969d6aaf955d96c5e0.tar.gz
Don't leak a GFile
svn path=/trunk/; revision=21468
Diffstat (limited to 'gtk/gtkfilechooserbutton.c')
-rw-r--r--gtk/gtkfilechooserbutton.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c
index 61ac369cc7..6fdd9ae24e 100644
--- a/gtk/gtkfilechooserbutton.c
+++ b/gtk/gtkfilechooserbutton.c
@@ -2106,6 +2106,7 @@ filter_model_visible_func (GtkTreeModel *model,
{
if (!g_file_is_native (base_file))
retval = FALSE;
+ g_object_unref (base_file);
}
else
retval = FALSE;