Merge "libsysutils: Fix a file descriptor leak."

This commit is contained in:
Brad Fitzpatrick 2011-03-23 11:57:30 -07:00 committed by Android Code Review
commit 499b45a359
1 changed files with 1 additions and 0 deletions

View File

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