diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-27 15:28:07 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-27 15:28:07 +0100 |
commit | 3da3ad2506b2326ca533b11b9ab8e2cebb92b63f (patch) | |
tree | 1c800b76dcb68953cd0ea141b87ed816fab46768 /src/rspamadm/rspamadm.c | |
parent | 0cde7b0683bf3f9550ad97bfdbedc22511c1505c (diff) | |
download | rspamd-3da3ad2506b2326ca533b11b9ab8e2cebb92b63f.tar.gz rspamd-3da3ad2506b2326ca533b11b9ab8e2cebb92b63f.zip |
[Minor] Further static leaks removal
Diffstat (limited to 'src/rspamadm/rspamadm.c')
-rw-r--r-- | src/rspamadm/rspamadm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rspamadm/rspamadm.c b/src/rspamadm/rspamadm.c index 3a2bb4c53..2487207ef 100644 --- a/src/rspamadm/rspamadm.c +++ b/src/rspamadm/rspamadm.c @@ -619,8 +619,11 @@ end: rspamd_http_context_free (rspamd_main->http_ctx); rspamd_log_close (rspamd_main->logger, TRUE); rspamd_url_deinit (); - g_free (rspamd_main); g_ptr_array_free (all_commands, TRUE); + ev_loop_destroy (rspamd_main->event_loop); + g_hash_table_unref (ucl_vars); + rspamd_mempool_delete (rspamd_main->server_pool); + g_free (rspamd_main); return retcode; } |