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_patch_instance.c | |
parent | 39e6ebbc169a250b6ae11928f5ce58696f09f19f (diff) |
-fix misc bugs
Diffstat (limited to 'src/lib/merchant_api_patch_instance.c')
-rw-r--r-- | src/lib/merchant_api_patch_instance.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/merchant_api_patch_instance.c b/src/lib/merchant_api_patch_instance.c index 810eff72..139d6966 100644 --- a/src/lib/merchant_api_patch_instance.c +++ b/src/lib/merchant_api_patch_instance.c @@ -243,12 +243,14 @@ TALER_MERCHANT_instance_patch ( CURL *eh; eh = curl_easy_init (); + GNUNET_assert (NULL != eh); if (GNUNET_OK != TALER_curl_easy_post (&iph->post_ctx, eh, req_obj)) { GNUNET_break (0); + curl_easy_cleanup (eh); json_decref (req_obj); GNUNET_free (iph->url); GNUNET_free (iph); |