From 61c6cb27442aed0b45cf31f8a69183b1c39e9a13 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 19 Nov 2021 11:43:40 +0100 Subject: -fix misc bugs --- src/lib/merchant_api_post_transfers.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/lib/merchant_api_post_transfers.c') diff --git a/src/lib/merchant_api_post_transfers.c b/src/lib/merchant_api_post_transfers.c index 62984835..488b0a7c 100644 --- a/src/lib/merchant_api_post_transfers.c +++ b/src/lib/merchant_api_post_transfers.c @@ -311,11 +311,13 @@ TALER_MERCHANT_transfers_post ( exchange_url)); eh = curl_easy_init (); GNUNET_assert (NULL != eh); - if (GNUNET_OK != TALER_curl_easy_post (&pth->post_ctx, - eh, - req)) + if (GNUNET_OK != + TALER_curl_easy_post (&pth->post_ctx, + eh, + req)) { GNUNET_break (0); + curl_easy_cleanup (eh); json_decref (req); GNUNET_free (pth); return NULL; -- cgit v1.2.3