diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-18 19:11:54 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-18 19:11:54 +0100 |
commit | 6025568b6ee88c8010480ab3d6698fe4969ef054 (patch) | |
tree | 35462a0e874a21e595b6612d0f479b22a9162008 /src/libutil/http.c | |
parent | 2395e17750aa96d37fbf45b355fbc9fcbf6f2491 (diff) | |
download | rspamd-6025568b6ee88c8010480ab3d6698fe4969ef054.tar.gz rspamd-6025568b6ee88c8010480ab3d6698fe4969ef054.zip |
[Fix] Fix detaching of shared memory segments
Diffstat (limited to 'src/libutil/http.c')
-rw-r--r-- | src/libutil/http.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); } |