commit | 4aa7ccbbd22ded26c948adb7f214144165ef4099 | [log] [tgz] |
---|---|---|
author | Zim <zezeozue@google.com> | Fri Aug 21 10:27:33 2020 +0100 |
committer | Zimuzo Ezeozue <zezeozue@google.com> | Mon Aug 24 12:45:55 2020 +0000 |
tree | c5c3bd49ae8dff37a1ef1bd98ff795d1db2036f4 | |
parent | 9b9719d134187dd83637d3d46b8224793e0f11be [diff] |
Fix JNI array memory leak When returning an array from Java into native, we should both: 1. Release the Java array reference 2. Delete the local ref of the returned object Test: Manual Change-Id: If1a30cb003facedbba85f65dac4d62fa0a1ef38d