1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 04:53:13 +02:00

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)
This commit is contained in:
Bram Matthys
2022-05-14 08:13:12 +02:00
parent ec4df2da7d
commit 8dff79ece2
+2
View File
@@ -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);
}