Fix a crash after a local client exits.
This commit is contained in:
parent
4d23dfbcb5
commit
24350e6234
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue