summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_merchant_get_order.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_cmd_merchant_get_order.c')
-rw-r--r--src/testing/testing_api_cmd_merchant_get_order.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testing/testing_api_cmd_merchant_get_order.c b/src/testing/testing_api_cmd_merchant_get_order.c
index 6e408d89..c08dd56e 100644
--- a/src/testing/testing_api_cmd_merchant_get_order.c
+++ b/src/testing/testing_api_cmd_merchant_get_order.c
@@ -478,13 +478,19 @@ merchant_get_order_cb (
TALER_TESTING_get_trait_order_id (order_cmd,
0,
&order_id))
+ {
+ TALER_MERCHANT_parse_pay_uri_free (&pud);
TALER_TESTING_FAIL (gos->is);
+ }
if (GNUNET_OK !=
TALER_TESTING_get_trait_claim_token (order_cmd,
0,
&claim_token))
+ {
+ TALER_MERCHANT_parse_pay_uri_free (&pud);
TALER_TESTING_FAIL (gos->is);
+ }
{
char *port;
char *host;
@@ -536,6 +542,7 @@ merchant_get_order_cb (
TALER_MERCHANT_parse_pay_uri_free (&pud);
return;
}
+ TALER_MERCHANT_parse_pay_uri_free (&pud);
}
break;
}