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

This commit is contained in:
David 'Digit' Turner 2011-01-21 15:01:04 -08:00 committed by Android (Google) Code Review
commit fc67acc381

View file

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