Merge "Fix descriptor leak after accepting connections"

This commit is contained in:
Nick Kralevich
2014-02-28 21:02:20 +00:00
committed by Gerrit Code Review

View File

@@ -326,6 +326,7 @@ class LocalSocketImpl
} }
s.fd = accept(fd, s); s.fd = accept(fd, s);
s.mFdCreatedInternally = true;
} }
/** /**
@@ -536,4 +537,3 @@ class LocalSocketImpl
close(); close();
} }
} }