From 67761b737080a3e8f4a5ac8417258d6fcda05240 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 30 Jul 2018 15:40:31 +0100 Subject: [Project] Implement fast module ctx lookup --- src/rspamd.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/rspamd.c') diff --git a/src/rspamd.c b/src/rspamd.c index 4b001948d..9339e0a3f 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -279,8 +279,6 @@ reread_config (struct rspamd_main *rspamd_main) rspamd_symbols_cache_save (rspamd_main->cfg->cache); tmp_cfg = rspamd_config_new (RSPAMD_CONFIG_INIT_DEFAULT); - g_hash_table_unref (tmp_cfg->c_modules); - tmp_cfg->c_modules = g_hash_table_ref (rspamd_main->cfg->c_modules); tmp_cfg->libs_ctx = rspamd_main->cfg->libs_ctx; REF_RETAIN (tmp_cfg->libs_ctx); cfg_file = rspamd_mempool_strdup (tmp_cfg->cfg_pool, -- cgit v1.2.3