diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-02 19:02:14 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-02 19:02:14 +0100 |
commit | 22a433506e0d3fb9321df8d3b655217b15a61017 (patch) | |
tree | 0f24b7e48887638df398022d3bf132610cc614bc /src/worker.c | |
parent | 8d586a8cc112d54ebbe7c39d8c6c5f3b25369b72 (diff) | |
download | rspamd-22a433506e0d3fb9321df8d3b655217b15a61017.tar.gz rspamd-22a433506e0d3fb9321df8d3b655217b15a61017.zip |
Avoid double free if cannot load message.
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c index 5c1fc396f..ba322d51e 100644 --- a/src/worker.c +++ b/src/worker.c @@ -115,7 +115,6 @@ rspamd_worker_body_handler (struct rspamd_http_connection *conn, } if (!rspamd_task_load_message (task, msg, chunk, len)) { - rspamd_session_destroy (task->s); return 0; } |