From: Vsevolod Stakhov Date: Mon, 26 Sep 2016 11:09:40 +0000 (+0100) Subject: [Minor] Fix zctx freeing X-Git-Tag: 1.4.0~374 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=437d0e4fe7c2388753f01eab3c75ee01422ea9ea;p=rspamd.git [Minor] Fix zctx freeing --- 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;