From: Vsevolod Stakhov Date: Mon, 18 Jul 2016 18:11:54 +0000 (+0100) Subject: [Fix] Fix detaching of shared memory segments X-Git-Tag: 1.3.0~55 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6025568b6ee88c8010480ab3d6698fe4969ef054;p=rspamd.git [Fix] Fix detaching of shared memory segments --- diff --git a/src/libutil/http.c b/src/libutil/http.c index 7aabba296..dd3302ee3 100644 --- a/src/libutil/http.c +++ b/src/libutil/http.c @@ -1601,8 +1601,6 @@ rspamd_http_detach_shared (struct rspamd_http_message *msg) msg->body_buf.c.shared.shm_fd = -1; } - REF_RELEASE (msg->body_buf.c.shared.name); - cpy_str = rspamd_fstring_new_init (msg->body_buf.begin, msg->body_buf.len); rspamd_http_message_set_body_from_fstring_steal (msg, cpy_str); }