aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstat/stat_config.c')
-rw-r--r--src/libstat/stat_config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstat/stat_config.c b/src/libstat/stat_config.c
index ec73951e8..538ddf8cf 100644
--- a/src/libstat/stat_config.c
+++ b/src/libstat/stat_config.c
@@ -158,6 +158,8 @@ rspamd_stat_init (struct rspamd_config *cfg, struct event_base *ev_base)
cl->subrs->init_func (cfg->cfg_pool, cl);
/* Init classifier cache */
+ cache_name = NULL;
+
if (clf->opts) {
cache_obj = ucl_object_find_key (clf->opts, "cache");
cache_name_obj = NULL;