diff options
| author | Martijn Coenen <maco@google.com> | 2020-01-28 10:08:18 +0100 | 
|---|---|---|
| committer | Martijn Coenen <maco@google.com> | 2020-01-28 10:52:35 +0000 | 
| commit | 63a1446971b20f7f1cc96e34142b680f322eeba1 (patch) | |
| tree | 4c6faa41826c34c7ec6f57ed5c5fdc2b33c94ca5 /graphics/java/android/renderscript/ProgramVertexFixedFunction.java | |
| parent | df29f8e5d59d9c8136eb2a2fd6c3bd605887c7ca (diff) | |
Don't leak local reference to BinderProxy.
The local reference created by javaObjectForIBinder() in the death
handling path is never freed, because it's not part of a regular JNI
call. Use a ScopedLocalRef<> to make sure it gets freed when we no
longer need it.
Bug: 148181449
Test: adb shell dumpsys activity binder-proxies shows low dead nodes
Change-Id: I031a46a310a06826bfadd77de7478b4342cf09ab
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
