Fix a crash after a local client exits.

This commit is contained in:
Jilles Tjoelker 2008-01-01 18:15:56 +01:00
parent 4d23dfbcb5
commit 24350e6234
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ free_local_client(struct Client *client_p)
client_p->localClient->listener = 0;
}
if(client_p->localClient->F->fd >= 0)
if(client_p->localClient->F)
comm_close(client_p->localClient->F->fd);
if(client_p->localClient->passwd)