diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-11-04 19:01:44 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2011-11-04 19:26:03 -0700 |
commit | 5462bc6318b4b70e7a58c66994e2bd79f59d9739 (patch) | |
tree | 4c5c4b7980974adb8c5fc11df32e1a523cd94306 /opengl/java/android/opengl/Texture.java | |
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
Diffstat (limited to 'opengl/java/android/opengl/Texture.java')
0 files changed, 0 insertions, 0 deletions