summaryrefslogtreecommitdiff
path: root/src/benchmark/taler-exchange-benchmark.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-19 17:25:45 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-19 17:25:45 +0100
commitc1dc7cc28bd87f282825944b33a986fd96c5e3c2 (patch)
tree785e74c6f242a8788c369e8b34dc92a717bcc9d9 /src/benchmark/taler-exchange-benchmark.c
parent9031f7340de800e5818a975ce3f7129f7258d1b9 (diff)
downloadexchange-c1dc7cc28bd87f282825944b33a986fd96c5e3c2.tar.gz
exchange-c1dc7cc28bd87f282825944b33a986fd96c5e3c2.tar.bz2
exchange-c1dc7cc28bd87f282825944b33a986fd96c5e3c2.zip
leaks
Diffstat (limited to 'src/benchmark/taler-exchange-benchmark.c')
-rw-r--r--src/benchmark/taler-exchange-benchmark.c14
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;
}