summaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-31 17:03:00 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-31 17:03:00 +0000
commit098b9ae4891070d2951094a0324fedd835db74bb (patch)
tree8490a8214305202bc25d52f29a3c78c5e5fa4582 /src/rspamd.c
parent58fe553881315e2b8fea2ef3e37eaaea21932168 (diff)
downloadrspamd-098b9ae4891070d2951094a0324fedd835db74bb.tar.gz
rspamd-098b9ae4891070d2951094a0324fedd835db74bb.zip
[CritFix] Fix workers scripts by sharing workers configs
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index f12a3b5e1..d9f2b9a76 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -692,7 +692,7 @@ wait_for_workers (gpointer key, gpointer value, gpointer unused)
WTERMSIG (res) == SIGKILL ? "hardly" : "softly");
event_del (&w->srv_ev);
g_ptr_array_free (w->finish_actions, TRUE);
- g_free (w->cf);
+ REF_RELEASE (w->cf);
g_free (w);
return TRUE;