From b9e6394aff5244dfe2c731408dea156cef8d66c3 Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Tue, 25 Oct 2022 05:56:56 +0000 Subject: [PATCH] secret-paths: Fix a little memory leak --- libsecret/secret-paths.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libsecret/secret-paths.c b/libsecret/secret-paths.c index 8081819..993d6cb 100644 --- a/libsecret/secret-paths.c +++ b/libsecret/secret-paths.c @@ -396,6 +396,7 @@ secret_collection_search_for_dbus_paths_finish (SecretCollection *collection, } g_variant_get (retval, "(^ao)", &paths); + g_clear_pointer (&retval, g_variant_unref); return g_steal_pointer (&paths); }