Commit 256794f0 authored by Yang Ni's avatar Yang Ni Committed by Android (Google) Code Review

Merge "Destroy Allocation with ScriptIntrinsicLut" into oc-dev

parents 1e820d7c 23ce6fa2
...@@ -56,6 +56,10 @@ public final class ScriptIntrinsicLUT extends ScriptIntrinsic { ...@@ -56,6 +56,10 @@ public final class ScriptIntrinsicLUT extends ScriptIntrinsic {
} }
public void destroy() {
mTables.destroy();
super.destroy();
}
private void validate(int index, int value) { private void validate(int index, int value) {
if (index < 0 || index > 255) { if (index < 0 || index > 255) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment