aboutsummaryrefslogtreecommitdiff
path: root/src/lib/teah_common.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-06-18 14:54:26 +0200
committerChristian Grothoff <christian@grothoff.org>2019-06-30 17:13:01 +0200
commitfc8fb5b0fd8109094d81ba431eee9c209bc3eebc (patch)
tree1bd5a892c11b92b1d24e28d628c8bb7750de89cd /src/lib/teah_common.c
parent7c48ce601576fd11fd097d9cd0c7d01ae9d487a0 (diff)
fix leaks
Diffstat (limited to 'src/lib/teah_common.c')
-rw-r--r--src/lib/teah_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/teah_common.c b/src/lib/teah_common.c
index 8377c4789..b8bea1871 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);
}