aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-26 12:09:40 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-26 12:09:40 +0100
commit437d0e4fe7c2388753f01eab3c75ee01422ea9ea (patch)
tree0544ebfff0fcf0168500b3e9a96c29624eb57a99 /src
parent443971e6d041b5da46a5c2c3a33fc0eb8bbc82a9 (diff)
downloadrspamd-437d0e4fe7c2388753f01eab3c75ee01422ea9ea.tar.gz
rspamd-437d0e4fe7c2388753f01eab3c75ee01422ea9ea.zip
[Minor] Fix zctx freeing
Diffstat (limited to 'src')
-rw-r--r--src/client/rspamdclient.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/rspamdclient.c b/src/client/rspamdclient.c
index d0b315108..4691ce5ec 100644
--- a/src/client/rspamdclient.c
+++ b/src/client/rspamdclient.c
@@ -390,11 +390,12 @@ rspamd_client_command (struct rspamd_client_connection *conn,
return FALSE;
}
+
+ ZSTD_freeCCtx (zctx);
}
rspamd_http_message_set_body_from_fstring_steal (req->msg, body);
req->input = input;
- ZSTD_freeCCtx (zctx);
}
else {
req->input = NULL;