diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-02 14:12:47 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-02 14:12:47 +0200 |
commit | 9d0e810049affc4077398d42c3c1bb7856a3b5bd (patch) | |
tree | d958804a0a4f32f1bced5539976cc116c88036e7 /src/testing/testing_api_cmd_merchant_get_order.c | |
parent | 6ae58fdc8e11cefdbee3419d52151e43f8a09590 (diff) | |
download | merchant-9d0e810049affc4077398d42c3c1bb7856a3b5bd.tar.gz merchant-9d0e810049affc4077398d42c3c1bb7856a3b5bd.tar.bz2 merchant-9d0e810049affc4077398d42c3c1bb7856a3b5bd.zip |
fix misc memory leaks
Diffstat (limited to 'src/testing/testing_api_cmd_merchant_get_order.c')
-rw-r--r-- | src/testing/testing_api_cmd_merchant_get_order.c | 7 |
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; } |