]> source.dussan.org Git - rspamd.git/commitdiff
Fix stat_cache closing
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 21 Jan 2016 16:37:00 +0000 (16:37 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 21 Jan 2016 16:37:00 +0000 (16:37 +0000)
src/libstat/stat_config.c

index 1d8869f604e054526c0dfd64737fb4251f9cc6e8..ec73951e8b842e3db6f76eb16b0daa42f57f2d99 100644 (file)
@@ -244,6 +244,7 @@ rspamd_stat_close (void)
                        g_slice_free1 (sizeof (*st), st);
                }
 
+               cl->cache->close (cl->cachecf);
                g_array_free (cl->statfiles_ids, TRUE);
                g_slice_free1 (sizeof (*cl), cl);
        }