aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-11 11:54:23 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-11 11:54:23 +0000
commitffa5f89df58beee17955ff5699e1863b73ed1a42 (patch)
treeb687eb89b4bf246e9e9e43c93e39f94a2e684b24
parent1c31d90d9ffdee6ee4b4a230349cb90ad7f82cbb (diff)
downloadrspamd-ffa5f89df58beee17955ff5699e1863b73ed1a42.tar.gz
rspamd-ffa5f89df58beee17955ff5699e1863b73ed1a42.zip
[Minor] Fix double free
-rw-r--r--src/worker.c2
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;
}
}