Free CollectionClosure::collection_path when it's freed

Similarly to what is done ItemClosure::collection_path, make sure that
CollectionClosure::collection_path is freed in
collection_closure_free().

https://bugzilla.gnome.org/show_bug.cgi?id=756766
This commit is contained in:
Christophe Fergeau 2015-10-17 23:14:31 +02:00
parent 396d192a1f
commit ec33acd46e

View File

@ -1660,6 +1660,7 @@ collection_closure_free (gpointer data)
CollectionClosure *closure = data;
g_clear_object (&closure->cancellable);
g_clear_object (&closure->prompt);
g_free (closure->collection_path);
g_slice_free (CollectionClosure, closure);
}