From 8dff79ece24e1a74ca5a8b282c9f8f6f09641d77 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Sat, 14 May 2022 08:13:12 +0200 Subject: [PATCH] Fix small memory leak on REHASH when tld block is used, ::mask was not freed. (this leak was already there, it is unrelated to the activity of last 24hrs) --- src/conf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/conf.c b/src/conf.c index badc36dca..58afc00f8 100644 --- a/src/conf.c +++ b/src/conf.c @@ -2438,6 +2438,8 @@ void config_rehash() free_motd(&tld_ptr->opermotd); free_motd(&tld_ptr->botmotd); + free_security_group(tld_ptr->match); + DelListItem(tld_ptr, conf_tld); safe_free(tld_ptr); }