diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-10-13 18:51:48 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-10-13 18:51:48 +0200 |
commit | c0d75d4b975eac16d1ab9c520b8072409338b6f2 (patch) | |
tree | 9b800a81001bf26d79d6756e66b89ad9484d3fcb /src/exchange-lib/testing_api_cmd_exec_auditor-sign.c | |
parent | 85e22419c938d8aaeeba81a7a5a2f2a9ca112397 (diff) |
fix memory leaks
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_exec_auditor-sign.c')
-rw-r--r-- | src/exchange-lib/testing_api_cmd_exec_auditor-sign.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exchange-lib/testing_api_cmd_exec_auditor-sign.c b/src/exchange-lib/testing_api_cmd_exec_auditor-sign.c index feebaaeb..48791efb 100644 --- a/src/exchange-lib/testing_api_cmd_exec_auditor-sign.c +++ b/src/exchange-lib/testing_api_cmd_exec_auditor-sign.c @@ -103,7 +103,8 @@ auditor_sign_run (void *cls, "%s/.local/share/taler/auditors/auditor-%llu.out", test_home_dir, (unsigned long long) now.abs_value_us); - + GNUNET_free (test_home_dir); + if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cfg, "exchange", @@ -134,7 +135,7 @@ auditor_sign_run (void *cls, "-r", "auditor.in", "-o", ass->signed_keys_out, NULL); - + GNUNET_free (exchange_master_pub); if (NULL == ass->auditor_sign_proc) { GNUNET_break (0); |