Merge "libsysutils: Fix a file descriptor leak."
This commit is contained in:
commit
499b45a359
|
@ -225,6 +225,7 @@ void SocketListener::runListener() {
|
|||
}
|
||||
pthread_mutex_unlock(&mClientsLock);
|
||||
/* Destroy the client */
|
||||
close(c->getSocket());
|
||||
delete c;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue