summaryrefslogtreecommitdiff
path: root/libsecret/secret-paths.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-10-17 23:14:31 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-10-19 12:09:50 +0200
commitec33acd46e42ca8c02b788bd1bd0c3377c58b8ee (patch)
tree6ab4024d493d21bd9d773474f6100389e7f616cd /libsecret/secret-paths.c
parent396d192a1fa2e36c925f5236b65b2b7f3736e076 (diff)
downloadlibsecret-ec33acd46e42ca8c02b788bd1bd0c3377c58b8ee.tar.gz
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
Diffstat (limited to 'libsecret/secret-paths.c')
-rw-r--r--libsecret/secret-paths.c1
1 files changed, 1 insertions, 0 deletions
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);
}