summaryrefslogtreecommitdiffstats
path: root/src/libstat
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2022-03-21 21:06:19 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2022-03-21 21:06:19 +0000
commit4c8b978e0bb1affdaa7739a1c3c79afbaf91c6e2 (patch)
treeefeee3250211c4a538466363778b39e3f778c1f8 /src/libstat
parent9bf414e6a155038defc976bb44fcfeaa0e9aeffc (diff)
downloadrspamd-4c8b978e0bb1affdaa7739a1c3c79afbaf91c6e2.tar.gz
rspamd-4c8b978e0bb1affdaa7739a1c3c79afbaf91c6e2.zip
[Minor] Free structure on exit
Diffstat (limited to 'src/libstat')
-rw-r--r--src/libstat/stat_config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstat/stat_config.c b/src/libstat/stat_config.c
index c381c6904..1f11a5607 100644
--- a/src/libstat/stat_config.c
+++ b/src/libstat/stat_config.c
@@ -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 */