From 8e4282bb260132232c26f3f87f48181044ea6cc3 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 26 Jul 2011 15:45:21 +0400 Subject: [PATCH] Another 'proper' place. --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index ae0148aa3..e37e830c0 100644 --- a/src/main.c +++ b/src/main.c @@ -879,6 +879,7 @@ main (gint argc, gchar **argv, gchar **env) rspamd_main->cfg->cache = g_new0 (struct symbols_cache, 1); rspamd_main->cfg->cache->static_pool = memory_pool_new (memory_pool_get_size ()); rspamd_main->cfg->cache->cfg = rspamd_main->cfg; + rspamd_main->cfg->cache->items_by_symbol = g_hash_table_new (g_str_hash, g_str_equal); /* Load config */ if (! load_rspamd_config (rspamd_main->cfg, TRUE)) { -- 2.39.5