diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-18 17:42:29 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-18 17:42:29 +0000 |
commit | 87be736a89369f4c746e5a97352000eceaabac3a (patch) | |
tree | 80ecff5c1e2d79cc0a49032520537c0ba292b2fa /src/rspamd.c | |
parent | 9d090bfa97a3de12fbc6123def434609349b9031 (diff) | |
download | rspamd-87be736a89369f4c746e5a97352000eceaabac3a.tar.gz rspamd-87be736a89369f4c746e5a97352000eceaabac3a.zip |
[Fix] More leaks eliminated
Diffstat (limited to 'src/rspamd.c')
-rw-r--r-- | src/rspamd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rspamd.c b/src/rspamd.c index 19811238c..6a9c4f321 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -642,7 +642,7 @@ spawn_workers (struct rspamd_main *rspamd_main, struct event_base *ev_base) } } - g_ptr_array_free (seen_mandatory_workers); + g_ptr_array_free (seen_mandatory_workers, TRUE); } static void @@ -1417,6 +1417,7 @@ main (gint argc, gchar **argv, gchar **env) REF_RELEASE (rspamd_main->cfg); g_hash_table_unref (rspamd_main->spairs); rspamd_mempool_delete (rspamd_main->server_pool); + rspamd_pidfile_close (rspamd_main->pfh); g_free (rspamd_main); event_base_free (ev_base); |