commit | 5462bc6318b4b70e7a58c66994e2bd79f59d9739 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Fri Nov 04 19:01:44 2011 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Fri Nov 04 19:26:03 2011 -0700 |
tree | 4c5c4b7980974adb8c5fc11df32e1a523cd94306 | |
parent | 348297abc0e03fb87a1d22465020b580d83fdd61 [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