summaryrefslogtreecommitdiff
path: root/src/lib/teah_common.c
diff options
context:
space:
mode:
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);
}