diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-01 16:36:49 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-01 16:36:49 +0100 |
commit | 1a961917c458b847fc27b1aa03a82b2b5605b4cb (patch) | |
tree | 3f3fa37c7c165dd5a1ea5ac2bd089bd01fcd517b /src/rspamadm/rspamadm.c | |
parent | f4efae27e91d2666c10097701c5d1345a4b92cf7 (diff) | |
download | rspamd-1a961917c458b847fc27b1aa03a82b2b5605b4cb.tar.gz rspamd-1a961917c458b847fc27b1aa03a82b2b5605b4cb.zip |
[Minor] Wipe memory in rspamadm
Diffstat (limited to 'src/rspamadm/rspamadm.c')
-rw-r--r-- | src/rspamadm/rspamadm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/rspamadm.c b/src/rspamadm/rspamadm.c index f3760ce3e..f4fabfc9f 100644 --- a/src/rspamadm/rspamadm.c +++ b/src/rspamadm/rspamadm.c @@ -370,7 +370,7 @@ main (gint argc, gchar **argv, gchar **env) ucl_vars = g_hash_table_new_full (rspamd_strcase_hash, rspamd_strcase_equal, g_free, g_free); process_quark = g_quark_from_static_string ("rspamadm"); - cfg = rspamd_config_new (RSPAMD_CONFIG_INIT_DEFAULT); + cfg = rspamd_config_new (RSPAMD_CONFIG_INIT_DEFAULT|RSPAMD_CONFIG_INIT_WIPE_LUA_MEM); cfg->libs_ctx = rspamd_init_libs (); rspamd_main = g_malloc0 (sizeof (*rspamd_main)); rspamd_main->cfg = cfg; |