From c1dc7cc28bd87f282825944b33a986fd96c5e3c2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 19 Jan 2020 17:25:45 +0100 Subject: leaks --- src/benchmark/taler-exchange-benchmark.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/benchmark') 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; } -- cgit v1.2.3