aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_helpers_bank.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_helpers_bank.c')
-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