From f0a95037ef13246b48f65b79e04292bc198c1279 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 19 Mar 2022 08:26:40 +0100 Subject: [PATCH] -fix memory leak --- src/lib/auditor_api_handle.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/auditor_api_handle.c b/src/lib/auditor_api_handle.c index f7d7f9a77..a1ffe6c31 100644 --- a/src/lib/auditor_api_handle.c +++ b/src/lib/auditor_api_handle.c @@ -454,6 +454,7 @@ request_version (void *cls) &hr, NULL, TALER_AUDITOR_VC_PROTOCOL_ERROR); + GNUNET_free (vr); return; } GNUNET_log (GNUNET_ERROR_TYPE_INFO, @@ -467,6 +468,8 @@ request_version (void *cls) auditor->retry_task = GNUNET_SCHEDULER_add_delayed (auditor->retry_delay, &request_version, auditor); + GNUNET_free (vr->url); + GNUNET_free (vr); return; } GNUNET_break (CURLE_OK ==