From ec33acd46e42ca8c02b788bd1bd0c3377c58b8ee Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Sat, 17 Oct 2015 23:14:31 +0200 Subject: 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 --- libsecret/secret-paths.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libsecret/secret-paths.c') diff --git a/libsecret/secret-paths.c b/libsecret/secret-paths.c index 279a16d..5afca86 100644 --- a/libsecret/secret-paths.c +++ b/libsecret/secret-paths.c @@ -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); } -- cgit v1.2.1