1
0
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:
Wouter Coekaerts 2005-06-24 16:43:18 +00:00 committed by coekie
parent 5a280a620d
commit 37941e84fe

View File

@ -900,6 +900,8 @@ static void sig_server_disconnected(IRC_SERVER_REC *server)
if (!IS_IRC_SERVER(server))
return;
g_free(server->last_nick);
while (server->knockoutlist != NULL)
knockout_destroy(server, server->knockoutlist->data);
}