diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-09 09:25:32 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-09 09:25:32 +0100 |
commit | bc15478c3b918a3f1cc128033ab8888f251143b2 (patch) | |
tree | 48bf18cfa2d5fa6e4dcc7c95deda4991937caca8 /src/testing/test_exchange_api_keys_cherry_picking.c | |
parent | c3e1aa36ee671ae9c1078e7cc7e625d59e3bd008 (diff) | |
download | exchange-bc15478c3b918a3f1cc128033ab8888f251143b2.tar.xz |
-fix leak
Diffstat (limited to 'src/testing/test_exchange_api_keys_cherry_picking.c')
-rw-r--r-- | src/testing/test_exchange_api_keys_cherry_picking.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testing/test_exchange_api_keys_cherry_picking.c b/src/testing/test_exchange_api_keys_cherry_picking.c index ed906f95a..63114c60c 100644 --- a/src/testing/test_exchange_api_keys_cherry_picking.c +++ b/src/testing/test_exchange_api_keys_cherry_picking.c @@ -110,7 +110,7 @@ int main (int argc, char *const *argv) { - const char *cipher; + char *cipher; (void) argc; /* These environment variables get in the way... */ @@ -124,6 +124,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 |