diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-19 17:25:45 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-19 17:25:45 +0100 |
commit | c1dc7cc28bd87f282825944b33a986fd96c5e3c2 (patch) | |
tree | 785e74c6f242a8788c369e8b34dc92a717bcc9d9 /src | |
parent | 9031f7340de800e5818a975ce3f7129f7258d1b9 (diff) | |
download | exchange-c1dc7cc28bd87f282825944b33a986fd96c5e3c2.tar.xz |
leaks
Diffstat (limited to 'src')
-rw-r--r-- | src/benchmark/taler-exchange-benchmark.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c index a4249b36a..9aa9c2daf 100644 --- a/src/benchmark/taler-exchange-benchmark.c +++ b/src/benchmark/taler-exchange-benchmark.c @@ -312,11 +312,11 @@ run (void *cls, "{\"nonce\": %llu}", i + (howmany_coins * j)); unit[0] = - TALER_TESTING_cmd_withdraw_with_retry (TALER_TESTING_cmd_withdraw_amount - (withdraw_label, - create_reserve_label, - amount_5, - MHD_HTTP_OK)); + TALER_TESTING_cmd_withdraw_with_retry + (TALER_TESTING_cmd_withdraw_amount (withdraw_label, + create_reserve_label, + amount_5, + MHD_HTTP_OK)); unit[1] = TALER_TESTING_cmd_deposit_with_retry (TALER_TESTING_cmd_deposit ("deposit", @@ -378,6 +378,10 @@ run (void *cls, TALER_TESTING_run2 (is, all_commands, GNUNET_TIME_UNIT_FOREVER_REL); /* no timeout */ + GNUNET_free (amount_1); + GNUNET_free (amount_4); + GNUNET_free (amount_5); + GNUNET_free (withdraw_fee_str); result = 1; } |