summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystemmodel.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-10-02 19:47:40 +0000
committerChristian Persch <chpe@src.gnome.org>2008-10-02 19:47:40 +0000
commit87d51e0ab46678e8e2dd93f3c185b5b0fe3a56cb (patch)
tree6ba919539dbf0f7ee65dbed954fbdfcd4faefae1 /gtk/gtkfilesystemmodel.c
parentab7aa3e1135b53b361205ab8038b88edbc57ac13 (diff)
downloadgtk+-87d51e0ab46678e8e2dd93f3c185b5b0fe3a56cb.tar.gz
Bug 554691 – mem leak in filechooser
svn path=/trunk/; revision=21568
Diffstat (limited to 'gtk/gtkfilesystemmodel.c')
-rw-r--r--gtk/gtkfilesystemmodel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c
index 7918f881fb..aab21109db 100644
--- a/gtk/gtkfilesystemmodel.c
+++ b/gtk/gtkfilesystemmodel.c
@@ -1133,6 +1133,7 @@ _gtk_file_system_model_path_do (GtkFileSystemModel *model,
return;
}
}
+ g_object_unref (parent_file);
if (g_slist_length (files) < 1)
return;