aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-28 12:53:10 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-28 12:53:10 +0100
commitbaaa8832b28b53b6d2ce9fd87f13b48f8c3c1b19 (patch)
tree2c2ede6d7ae28674e28b948f5f6d0e6e9789e236
parent163b23f27a7f6179489956de791794d4f475f61e (diff)
fix leak
-rw-r--r--src/testing/testing_api_helpers_bank.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testing/testing_api_helpers_bank.c b/src/testing/testing_api_helpers_bank.c
index 30813da71..bdbefe65e 100644
--- a/src/testing/testing_api_helpers_bank.c
+++ b/src/testing/testing_api_helpers_bank.c
@@ -443,6 +443,7 @@ TALER_TESTING_prepare_fakebank (const char *config_filename,
if (NULL == exchange_xtalerbank_account)
{
GNUNET_break (0);
+ GNUNET_free (exchange_payto_uri);
return GNUNET_SYSERR;
}
GNUNET_asprintf (&bc->exchange_auth.wire_gateway_url,
@@ -462,6 +463,7 @@ TALER_TESTING_prepare_fakebank (const char *config_filename,
{
GNUNET_free (bc->exchange_auth.wire_gateway_url);
bc->exchange_auth.wire_gateway_url = NULL;
+ GNUNET_free (exchange_payto_uri);
return GNUNET_SYSERR;
}
/* Now we know it's the fake bank, for purpose of authentication, we