am fc67acc3: Merge "libsysutils: Fix a file descriptor leak." into honeycomb

* commit 'fc67acc381ca684caffab957c6113d7285d46e3d':
  libsysutils: Fix a file descriptor leak.
This commit is contained in:
David 'Digit' Turner 2011-01-21 15:03:04 -08:00 committed by Android Git Automerger
commit 38f81ccf62

View file

@ -225,6 +225,7 @@ void SocketListener::runListener() {
}
pthread_mutex_unlock(&mClientsLock);
/* Destroy the client */
close(c->getSocket());
delete c;
}
}