commit | 93ff1f985e233fe04412a65041e977c9f0c21f5b | [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 | 2df87eb4ecff390bb6b43c8ff1f018a030844a23 | |
parent | edc0bf55363230138c5eac11763055b4d471e850 [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