diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2015-10-17 23:14:31 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2015-10-19 12:09:50 +0200 |
commit | ec33acd46e42ca8c02b788bd1bd0c3377c58b8ee (patch) | |
tree | 6ab4024d493d21bd9d773474f6100389e7f616cd /libsecret | |
parent | 396d192a1fa2e36c925f5236b65b2b7f3736e076 (diff) | |
download | libsecret-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')
-rw-r--r-- | libsecret/secret-paths.c | 1 |
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); } |