diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-15 14:11:30 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-15 14:11:30 +0100 |
commit | c08f35e976223b58cf76e8cfe2dac8f457e32fee (patch) | |
tree | 2ef363c56527e009baaeb01a47eb9a9ecd3bc7ce /src/rspamd.c | |
parent | 3c6829656593b2fac53e09d0c34452ba1de9965d (diff) | |
download | rspamd-c08f35e976223b58cf76e8cfe2dac8f457e32fee.tar.gz rspamd-c08f35e976223b58cf76e8cfe2dac8f457e32fee.zip |
[Minor] More init leaks
Diffstat (limited to 'src/rspamd.c')
-rw-r--r-- | src/rspamd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rspamd.c b/src/rspamd.c index 777726478..34436bd10 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -1498,6 +1498,7 @@ main (gint argc, gchar **argv, gchar **env) rspamd_log_close (rspamd_main->logger); REF_RELEASE (rspamd_main->cfg); g_hash_table_unref (rspamd_main->spairs); + g_hash_table_unref (rspamd_main->workers); rspamd_mempool_delete (rspamd_main->server_pool); if (!skip_pid) { @@ -1507,5 +1508,9 @@ main (gint argc, gchar **argv, gchar **env) g_free (rspamd_main); event_base_free (ev_base); + if (control_addr) { + rspamd_inet_address_free (control_addr); + } + return (res); } |