summaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r--src/cfg_utils.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c
index 711c045ab..42672e9f7 100644
--- a/src/cfg_utils.c
+++ b/src/cfg_utils.c
@@ -802,10 +802,6 @@ check_statfile_conf (struct config_file *cfg, struct statfile *c)
if (c == NULL) {
c = memory_pool_alloc0 (cfg->cfg_pool, sizeof (struct statfile));
}
- if (c->opts == NULL) {
- c->opts = g_hash_table_new (rspamd_str_hash, rspamd_str_equal);
- memory_pool_add_destructor (cfg->cfg_pool, (pool_destruct_func) g_hash_table_destroy, c->opts);
- }
return c;
}