diff options
| author | Yang Ni <yangni@google.com> | 2015-11-25 13:32:52 -0800 |
|---|---|---|
| committer | Yang Ni <yangni@google.com> | 2015-12-01 10:39:56 -0800 |
| commit | 432b47768af4eaa8eca4d94fe7e5a973a1ef1a73 (patch) | |
| tree | 0e2bf6f06bab2a71262f315b0ea14c50a543b40a /cpp/RenderScript.cpp | |
| parent | 148ce85b56a04962650094ea903229abc0c08105 (diff) | |
Test for ref counting on returned rs objects
Bug: 25777125
RS objects are currently cleared before entering return statements.
This leads to
1) Any rs objects referenced inside the return statement are already
cleared and invalid; and
2) Any object returned is cleared and marked invalid for the caller.
A fix is in https://android-review.googlesource.com/184120
Change-Id: I35893318a20b717e3adb0451910f2531177d8d4a
Diffstat (limited to 'cpp/RenderScript.cpp')
0 files changed, 0 insertions, 0 deletions
