summaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-03-26 17:36:53 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-03-26 17:36:53 +0000
commit856a7864628d8bc4e433ed65f5e0ec4e1d35b725 (patch)
treed416df4d8b6b6e274895359f60f103cef99be276 /src/rspamd.c
parenta15a3f7c658ad32ddaf4114c5dd65bb6855ce08a (diff)
downloadrspamd-856a7864628d8bc4e433ed65f5e0ec4e1d35b725.tar.gz
rspamd-856a7864628d8bc4e433ed65f5e0ec4e1d35b725.zip
[Fix] Try hard to deal with ghost workers
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index dee990c41..fb3b93e36 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -1181,6 +1181,7 @@ rspamd_cld_handler (EV_P_ ev_child *w, struct rspamd_main *rspamd_main,
}
REF_RELEASE (wrk->cf);
+ g_hash_table_unref (wrk->control_events_pending);
g_free (wrk);
}