diff options
author | Ytai Ben-Tsvi <ytai@google.com> | 2021-05-25 08:20:59 -0700 |
---|---|---|
committer | Ytai Ben-Tsvi <ytai@google.com> | 2021-05-25 08:20:59 -0700 |
commit | 808e525d57310e1332cbf53c88c16b6359ebee7a (patch) | |
tree | d9d999717d462da79469006c38af514468acda7e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | cad4e327bf3a2ad3a33d2cbc3f7039473f0adffb (diff) |
Prevent double-closing of native handle in HidlMemory
Since the handle wasn't nullified, when the memory is explicitly
closed, the finalizer would attempt to close again, which results in
an exception.
Bug: 189213084
Test: Manual verification of ST use-cases, which uses this.
Patch sent to partner for verification.
Change-Id: I4ac6bbdd88b3f729a022896adfed00effec48bd8
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions