diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-24 21:27:16 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-24 21:46:17 +0100 |
commit | bd8172153357a1f51ed2ce450a15af322a074897 (patch) | |
tree | 4689f27c38296dd0d2dfc0152c80989459a73687 /src/rspamd.c | |
parent | e8c4bf889840913f8015eeb7e665ec90904eb6cf (diff) | |
download | rspamd-bd8172153357a1f51ed2ce450a15af322a074897.tar.gz rspamd-bd8172153357a1f51ed2ce450a15af322a074897.zip |
[Feature] Add termination callbacks for workers
Diffstat (limited to 'src/rspamd.c')
-rw-r--r-- | src/rspamd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rspamd.c b/src/rspamd.c index 056de6e12..3ddee3ff4 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -692,6 +692,7 @@ wait_for_workers (gpointer key, gpointer value, gpointer unused) g_quark_to_string (w->type), w->pid, WTERMSIG (res) == SIGKILL ? "hardly" : "softly"); event_del (&w->srv_ev); + g_ptr_array_free (w->finish_actions, TRUE); g_free (w->cf); g_free (w); |