[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 01/03: -fix memory leak
From: |
gnunet |
Subject: |
[taler-exchange] 01/03: -fix memory leak |
Date: |
Sat, 19 Mar 2022 08:35:18 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit f0a95037ef13246b48f65b79e04292bc198c1279
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Sat Mar 19 08:26:40 2022 +0100
-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 f7d7f9a7..a1ffe6c3 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 ==
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.