From 36ceb8795a77090a0b9a78f24f0d01e2ea93220a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 18 Jun 2019 14:54:01 +0200 Subject: fix memory leaks --- src/lib/merchant_api_tip_authorize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/merchant_api_tip_authorize.c') diff --git a/src/lib/merchant_api_tip_authorize.c b/src/lib/merchant_api_tip_authorize.c index 92864432..88b499f9 100644 --- a/src/lib/merchant_api_tip_authorize.c +++ b/src/lib/merchant_api_tip_authorize.c @@ -266,7 +266,7 @@ TALER_MERCHANT_tip_authorize_cancel (struct TALER_MERCHANT_TipAuthorizeOperation GNUNET_CURL_job_cancel (tao->job); tao->job = NULL; } - GNUNET_free_non_null (tao->post_ctx.json_enc); + TALER_curl_easy_post_finished (&tao->post_ctx); GNUNET_free (tao->url); GNUNET_free (tao); } -- cgit v1.2.3