diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-12 23:08:17 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-12 23:08:17 +0000 |
commit | 59351eb72ce4ce607a3ae2762a0101650244eab9 (patch) | |
tree | 7d97b2df9ad940df49fcafe601a9bb4846b65f1a /src/libserver/protocol.c | |
parent | 681417893d0f859d99690055143364898bfe880f (diff) | |
download | rspamd-59351eb72ce4ce607a3ae2762a0101650244eab9.tar.gz rspamd-59351eb72ce4ce607a3ae2762a0101650244eab9.zip |
[CritFix] Plug memory leak in zstd protocol compression
MFH: rspamd-1.6
Diffstat (limited to 'src/libserver/protocol.c')
-rw-r--r-- | src/libserver/protocol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c index a6e7a7c54..bcecceadd 100644 --- a/src/libserver/protocol.c +++ b/src/libserver/protocol.c @@ -1334,6 +1334,7 @@ rspamd_protocol_http_reply (struct rspamd_http_message *msg, } } + ZSTD_flushStream (zstream, &zout); r = ZSTD_endStream (zstream, &zout); if (ZSTD_isError (r)) { |