summaryrefslogtreecommitdiff
path: root/libs/rs/rsScriptC.h
diff options
context:
space:
mode:
author Jason Sams <rjsams@android.com> 2011-01-27 00:14:13 -0800
committer Stephen Hines <srhines@google.com> 2011-01-27 19:36:54 -0800
commit38f8d9d7a17037a34f4df229b1089536a6cdc8dc (patch)
tree860fe9cead9a082b87a466210cba1eb98fadf694 /libs/rs/rsScriptC.h
parent64a2c359aeda59e4bc43d48f31ade919e918ea26 (diff)
Correctly free resouces bound to scripts when the scripts are deleted.
Change-Id: Idfcc30f1a7de0badeb6d8254ed508938d89f4070 b: 3381615
Diffstat (limited to 'libs/rs/rsScriptC.h')
-rw-r--r--libs/rs/rsScriptC.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/rs/rsScriptC.h b/libs/rs/rsScriptC.h
index 7143c671a658..e794feb10edb 100644
--- a/libs/rs/rsScriptC.h
+++ b/libs/rs/rsScriptC.h
@@ -42,8 +42,12 @@ public:
RunScript_t mRoot;
VoidFunc_t mInit;
+
+ uint32_t * mObjectSlotList;
+ uint32_t mObjectSlotCount;
};
+
Program_t mProgram;
BCCScriptRef mBccScript;