diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-01 16:39:39 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-01 16:39:39 +0100 |
commit | b37eba798e5fb6d30ff10d5c449e3d1051cddcc7 (patch) | |
tree | 860b7cbd2c69f6f2619e5c155184a20b464d38ef /src/libutil/http.c | |
parent | 32fb22038f15cf4b42f63e310ec662d0fa94aa3a (diff) | |
download | rspamd-b37eba798e5fb6d30ff10d5c449e3d1051cddcc7.tar.gz rspamd-b37eba798e5fb6d30ff10d5c449e3d1051cddcc7.zip |
Memory leak.
Diffstat (limited to 'src/libutil/http.c')
-rw-r--r-- | src/libutil/http.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/http.c b/src/libutil/http.c index 802aa9e7f..1a5bc7840 100644 --- a/src/libutil/http.c +++ b/src/libutil/http.c @@ -1191,6 +1191,8 @@ rspamd_http_connection_write_message (struct rspamd_http_connection *conn, priv->wr_total -= 2; } if (msg->body != NULL) { + msg->body_buf.str = msg->body->str; + if (encrypted && peer_key != NULL && np != NULL && mp != NULL) { if (conn->cache) { rspamd_cryptobox_encrypt_nm_inplace (pbody, |