diff options
Diffstat (limited to 'src/libstat/stat_config.c')
-rw-r--r-- | src/libstat/stat_config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstat/stat_config.c b/src/libstat/stat_config.c index 647079367..1cf19d412 100644 --- a/src/libstat/stat_config.c +++ b/src/libstat/stat_config.c @@ -133,6 +133,7 @@ rspamd_stat_init (struct rspamd_config *cfg) cl = g_slice_alloc0 (sizeof (*cl)); cl->cfg = clf; + cl->ctx = stat_ctx; cl->statfiles_ids = g_array_new (FALSE, FALSE, sizeof (gint)); /* Init classifier cache */ |