]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Free structure on exit
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 21 Mar 2022 21:06:19 +0000 (21:06 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 21 Mar 2022 21:06:19 +0000 (21:06 +0000)
src/libstat/stat_config.c

index c381c6904af0ddd30d6493369669e69c282f4fc4..1f11a5607aaef86bb0e7a5cf5ea000468cb297dd 100644 (file)
@@ -439,6 +439,7 @@ rspamd_stat_close (void)
                                st_ctx->lua_stat_tokens_ref);
        }
 
+       g_free (st_ctx->classifiers_subrs);
        g_free (st_ctx);
 
        /* Set global var to NULL */