am fc67acc3
: Merge "libsysutils: Fix a file descriptor leak." into honeycomb
* commit 'fc67acc381ca684caffab957c6113d7285d46e3d': libsysutils: Fix a file descriptor leak.
This commit is contained in:
commit
38f81ccf62
1 changed files with 1 additions and 0 deletions
|
@ -225,6 +225,7 @@ void SocketListener::runListener() {
|
|||
}
|
||||
pthread_mutex_unlock(&mClientsLock);
|
||||
/* Destroy the client */
|
||||
close(c->getSocket());
|
||||
delete c;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue