Skip to content
Snippets Groups Projects
Commit 8b8f75a7 authored by Yang Ni's avatar Yang Ni
Browse files

Destroy Allocation with ScriptIntrinsicLut

Bug: 28053584

On destroying the intrinsic, destroy its contained Allocation right away.

Test: CTS on x86_64 emulator
Change-Id: I5ca0da33b620c3291b7cafda31a6cc83eb7461a0
parent 19cd7568
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,10 @@ public final class ScriptIntrinsicLUT extends ScriptIntrinsic {
}
public void destroy() {
mTables.destroy();
super.destroy();
}
private void validate(int index, int value) {
if (index < 0 || index > 255) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment