1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 06:23:12 +02:00

Fix memleak if you had swhois titles on oper / on vhost / ..

This commit is contained in:
Bram Matthys
2015-12-16 11:30:19 +01:00
parent 4c2323e1a3
commit 6178ca1c6f
+2
View File
@@ -284,6 +284,8 @@ void free_user(anUser *user, aClient *cptr)
for (s = user->swhois; s; s = s_next)
{
s_next = s->next;
safefree(s->line);
safefree(s->setby);
MyFree(s);
}
}