diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-19 11:43:40 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-19 11:43:40 +0100 |
commit | 61c6cb27442aed0b45cf31f8a69183b1c39e9a13 (patch) | |
tree | 0bd4be7427bc0fcff3dcad24ab55480c93a03a24 /src/lib/merchant_api_lock_product.c | |
parent | 39e6ebbc169a250b6ae11928f5ce58696f09f19f (diff) |
-fix misc bugs
Diffstat (limited to 'src/lib/merchant_api_lock_product.c')
-rw-r--r-- | src/lib/merchant_api_lock_product.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/merchant_api_lock_product.c b/src/lib/merchant_api_lock_product.c index 3a3caaeb..c8aaf22f 100644 --- a/src/lib/merchant_api_lock_product.c +++ b/src/lib/merchant_api_lock_product.c @@ -202,12 +202,14 @@ TALER_MERCHANT_product_lock ( CURL *eh; eh = curl_easy_init (); + GNUNET_assert (NULL != eh); if (GNUNET_OK != TALER_curl_easy_post (&plh->post_ctx, eh, req_obj)) { GNUNET_break (0); + curl_easy_cleanup (eh); json_decref (req_obj); GNUNET_free (plh); return NULL; |