aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-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;