diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-11 11:54:23 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-11 11:54:23 +0000 |
commit | ffa5f89df58beee17955ff5699e1863b73ed1a42 (patch) | |
tree | b687eb89b4bf246e9e9e43c93e39f94a2e684b24 | |
parent | 1c31d90d9ffdee6ee4b4a230349cb90ad7f82cbb (diff) | |
download | rspamd-ffa5f89df58beee17955ff5699e1863b73ed1a42.tar.gz rspamd-ffa5f89df58beee17955ff5699e1863b73ed1a42.zip |
[Minor] Fix double free
-rw-r--r-- | src/worker.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/worker.c b/src/worker.c index e7d71a99d..9d4b175a3 100644 --- a/src/worker.c +++ b/src/worker.c @@ -112,8 +112,6 @@ rspamd_worker_call_finish_handlers (struct rspamd_worker *worker) } if (rspamd_session_pending (task->s)) { - rspamd_session_destroy (task->s); - return TRUE; } } |