From ca6c12d4ddf319fc251fdcc73aaae063df3ca9f7 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 19 Dec 2019 17:42:04 +0100 Subject: [PATCH] authenticators: Fix leak --- common/flatpak-auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/flatpak-auth.c b/common/flatpak-auth.c index 69fde280..9d0f689f 100644 --- a/common/flatpak-auth.c +++ b/common/flatpak-auth.c @@ -95,7 +95,7 @@ flatpak_auth_create_request_path (const char *peer, const char *token, GError **error) { - gchar *escaped_peer; + g_autofree gchar *escaped_peer = NULL; int i; for (i = 0; token[i]; i++)