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_overlapping_keys_bug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/testing/test_exchange_api_overlapping_keys_bug.c') diff --git a/src/testing/test_exchange_api_overlapping_keys_bug.c b/src/testing/test_exchange_api_overlapping_keys_bug.c index 8dd160062..54c552236 100644 --- a/src/testing/test_exchange_api_overlapping_keys_bug.c +++ b/src/testing/test_exchange_api_overlapping_keys_bug.c @@ -90,7 +90,7 @@ int main (int argc, char *const *argv) { - const char *cipher; + char *cipher; (void) argc; /* These environment variables get in the way... */ @@ -104,6 +104,7 @@ main (int argc, GNUNET_asprintf (&config_file, "test_exchange_api_keys_cherry_picking-%s.conf", cipher); + GNUNET_free (cipher); TALER_TESTING_cleanup_files (config_file); /* @helpers. Run keyup, create tables, ... Note: it * fetches the port number from config in order to see -- cgit v1.2.3