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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstat/stat_config.c b/src/libstat/stat_config.c
index d6fdc9673..66c766836 100644
--- a/src/libstat/stat_config.c
+++ b/src/libstat/stat_config.c
@@ -278,6 +278,12 @@ rspamd_stat_init (struct rspamd_config *cfg, struct ev_loop *ev_base)
continue;
}
}
+ else {
+ /* This actually is not implemented so it should never happen */
+ g_free (cl);
+ cur = g_list_next (cur);
+ continue;
+ }
/* XXX:
* Here we get the first classifier tokenizer config as the only one