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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user