diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-09-26 12:09:40 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-09-26 12:09:40 +0100 |
commit | 437d0e4fe7c2388753f01eab3c75ee01422ea9ea (patch) | |
tree | 0544ebfff0fcf0168500b3e9a96c29624eb57a99 /src/client | |
parent | 443971e6d041b5da46a5c2c3a33fc0eb8bbc82a9 (diff) | |
download | rspamd-437d0e4fe7c2388753f01eab3c75ee01422ea9ea.tar.gz rspamd-437d0e4fe7c2388753f01eab3c75ee01422ea9ea.zip |
[Minor] Fix zctx freeing
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/rspamdclient.c | 3 |
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; |