diff options
Diffstat (limited to 'src/lib/merchant_api_patch_order_forget.c')
-rw-r--r-- | src/lib/merchant_api_patch_order_forget.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/merchant_api_patch_order_forget.c b/src/lib/merchant_api_patch_order_forget.c index e6a36ad4..b8f5c22f 100644 --- a/src/lib/merchant_api_patch_order_forget.c +++ b/src/lib/merchant_api_patch_order_forget.c @@ -207,12 +207,14 @@ TALER_MERCHANT_order_forget (struct GNUNET_CURL_Context *ctx, CURL *eh; eh = curl_easy_init (); + GNUNET_assert (NULL != eh); if (GNUNET_OK != TALER_curl_easy_post (&ofh->post_ctx, eh, req_obj)) { GNUNET_break (0); + curl_easy_cleanup (eh); json_decref (req_obj); GNUNET_free (ofh); return NULL; |