aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-17 21:53:49 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-18 23:05:15 +0000
commit665166c376a54f52b070e891780ca6209bbaa2d1 (patch)
tree034b58919947b10b1c5adb85796bc8d1a8ea0ed7 /src/libserver/cfg_utils.c
parent5d9fc64987e526b3a3cccd3dcb5f980ccc8b83cb (diff)
downloadrspamd-665166c376a54f52b070e891780ca6209bbaa2d1.tar.gz
rspamd-665166c376a54f52b070e891780ca6209bbaa2d1.zip
Start refactoring of statistics in rspamd.
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r--src/libserver/cfg_utils.c6
1 files changed, 0 insertions, 6 deletions
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,