aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/worker_util.c')
-rw-r--r--src/worker_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/worker_util.c b/src/worker_util.c
index 599d098c9..3da6a26a5 100644
--- a/src/worker_util.c
+++ b/src/worker_util.c
@@ -161,6 +161,9 @@ free_task (struct worker_task *task, gboolean is_soft)
rspamd_remove_dispatcher (task->dispatcher);
}
}
+ if (task->http_conn != NULL) {
+ rspamd_http_connection_free (task->http_conn);
+ }
if (task->sock != -1) {
close (task->sock);
}