commit | 06234b37e3bfb910e7be9b4fdb035c958983a2ae | [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 | 32bb8355ae47abdf8ccf1f0cd59d5557de371888 | |
parent | e8dc810f7cc6c581107c2d80586401842004d4c5 [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