From fc8fb5b0fd8109094d81ba431eee9c209bc3eebc Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 18 Jun 2019 14:54:26 +0200 Subject: fix leaks --- src/lib/teah_common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/teah_common.c') diff --git a/src/lib/teah_common.c b/src/lib/teah_common.c index 8377c478..b8bea187 100644 --- a/src/lib/teah_common.c +++ b/src/lib/teah_common.c @@ -111,5 +111,7 @@ TALER_curl_easy_post (struct TEAH_PostContext *ctx, void TALER_curl_easy_post_finished (struct TEAH_PostContext *ctx) { + curl_slist_free_all (ctx->headers); + ctx->headers = NULL; GNUNET_free_non_null (ctx->json_enc); } -- cgit v1.2.3