commit | 829a6f208cbdcc9eecaa59d086b27b413e3227ee | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Fri Nov 04 19:01:44 2011 -0700 |
committer | The Android Automerger <android-build@android.com> | Fri Nov 04 22:16:39 2011 -0700 |
tree | a456eff0c2125901510047e529829607ddf56080 | |
parent | 6d25e3400cee4ca6965a9fd22222a8389c08380c [diff] |
Fix a leak in Parcel::writeBlob. Was mistakenly assuming that Parcel::writeFileDescriptor took ownership of the fd that was passed in. It does not! Added some comments and a default parameter to allow the caller to specify whether it wishes the Parcel to take ownership. Bug: 5563374 Change-Id: I5a12f51d582bf246ce90133cce7690bb9bca93f6