Merge "Destroy Allocation with ScriptIntrinsicLut"

am: 622b140f94

Change-Id: I7d781ce6f36d0205bb35a9b3416e4ea55f4b8eeb
This commit is contained in:
Yang Ni
2017-05-04 18:56:34 +00:00
committed by android-build-merger

View File

@@ -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) {