summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystemmodel.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-02-21 14:02:37 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-02-21 14:51:25 -0500
commite709c965a4d9d48c8007905de7e715bc7fef728f (patch)
tree1e897d740d2b43655bb0975e6b9d24e6e7032c90 /gtk/gtkfilesystemmodel.c
parentc28784524016b2a8eac18d5046ebc8cdaca7f9b0 (diff)
downloadgtk+-e709c965a4d9d48c8007905de7e715bc7fef728f.tar.gz
Don't leak the queried file info
https://bugzilla.gnome.org/show_bug.cgi?id=554618
Diffstat (limited to 'gtk/gtkfilesystemmodel.c')
-rw-r--r--gtk/gtkfilesystemmodel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c
index b9f4d326a3..909359ac11 100644
--- a/gtk/gtkfilesystemmodel.c
+++ b/gtk/gtkfilesystemmodel.c
@@ -1229,6 +1229,8 @@ gtk_file_system_model_query_done (GObject * object,
id = node_get_for_file (model, file);
gtk_file_system_model_sort_node (model, id);
+ g_object_unref (info);
+
gdk_threads_leave ();
}