From bc15478c3b918a3f1cc128033ab8888f251143b2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 9 Feb 2022 09:25:32 +0100 Subject: -fix leak --- src/testing/test_exchange_api_revocation.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/testing/test_exchange_api_revocation.c') diff --git a/src/testing/test_exchange_api_revocation.c b/src/testing/test_exchange_api_revocation.c index 0ca7fab3a..beb94dbaf 100644 --- a/src/testing/test_exchange_api_revocation.c +++ b/src/testing/test_exchange_api_revocation.c @@ -249,7 +249,7 @@ int main (int argc, char *const *argv) { - const char *cipher; + char *cipher; (void) argc; /* These environment variables get in the way... */ @@ -263,6 +263,7 @@ main (int argc, GNUNET_asprintf (&config_file, "test_exchange_api-%s.conf", cipher); + GNUNET_free (cipher); /* Check fakebank port is available and get config */ if (GNUNET_OK != TALER_TESTING_prepare_fakebank (config_file, -- cgit v1.2.3