mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Fix server->last_nick leak by Toby (Bug 267)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3794 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
5a280a620d
commit
37941e84fe
@ -900,6 +900,8 @@ static void sig_server_disconnected(IRC_SERVER_REC *server)
|
|||||||
if (!IS_IRC_SERVER(server))
|
if (!IS_IRC_SERVER(server))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
g_free(server->last_nick);
|
||||||
|
|
||||||
while (server->knockoutlist != NULL)
|
while (server->knockoutlist != NULL)
|
||||||
knockout_destroy(server, server->knockoutlist->data);
|
knockout_destroy(server, server->knockoutlist->data);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user