merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 5a3926cc8903d16af5f5a6d46e8d3d5ea47e8a1c
parent 89d4f6430956129d9bfb29551fc2fa1c5c147676
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue,  7 Jun 2022 15:02:27 +0200

-fix minor bugs

Diffstat:
Msrc/lib/merchant_api_tip_pickup2.c | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/lib/merchant_api_tip_pickup2.c b/src/lib/merchant_api_tip_pickup2.c @@ -304,12 +304,14 @@ TALER_MERCHANT_tip_pickup2 (struct GNUNET_CURL_Context *ctx, return NULL; } eh = TALER_MERCHANT_curl_easy_get_ (tpo->url); - if (GNUNET_OK != TALER_curl_easy_post (&tpo->post_ctx, - eh, - tp_obj)) + if (GNUNET_OK != + TALER_curl_easy_post (&tpo->post_ctx, + eh, + tp_obj)) { GNUNET_break (0); json_decref (tp_obj); + curl_easy_cleanup (eh); GNUNET_free (tpo->url); GNUNET_free (tpo); return NULL;