commit 4c8b978: [Minor] Free structure on exit

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Mar 21 21:14:04 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-03-21 21:06:19 +0000
URL: https://github.com/rspamd/rspamd/commit/4c8b978e0bb1affdaa7739a1c3c79afbaf91c6e2 (HEAD -> master)

[Minor] Free structure on exit

---
 src/libstat/stat_config.c | 1 +
 1 file changed, 1 insertion(+)

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 */


More information about the Commits mailing list