mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
Fix a crash after a local client exits.
This commit is contained in:
parent
d61de0adff
commit
997613d2f3
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue