From 665166c376a54f52b070e891780ca6209bbaa2d1 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 17 Jan 2015 21:53:49 +0000 Subject: Start refactoring of statistics in rspamd. --- src/libserver/cfg_utils.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/libserver/cfg_utils.c') diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index b53a2690c..c9a9555b1 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -498,12 +498,6 @@ rspamd_config_new_classifier (struct rspamd_config *cfg, rspamd_mempool_alloc0 (cfg->cfg_pool, sizeof (struct rspamd_classifier_config)); } - if (c->opts == NULL) { - c->opts = g_hash_table_new (rspamd_str_hash, rspamd_str_equal); - rspamd_mempool_add_destructor (cfg->cfg_pool, - (rspamd_mempool_destruct_t) g_hash_table_destroy, - c->opts); - } if (c->labels == NULL) { c->labels = g_hash_table_new_full (rspamd_str_hash, rspamd_str_equal, -- cgit v1.2.3