diff options
author | Jason Sams <rjsams@android.com> | 2011-03-18 17:38:40 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2011-03-18 17:38:40 -0700 |
commit | 88728ecaeab1358e1748cbbf6ed954fd9a960692 (patch) | |
tree | 60f663293d42bd0549615af549ec792638174d66 /libs | |
parent | 80e29cf5c45e378bd28a1b061bb70d8ce02846ae (diff) | |
download | frameworks_base-88728ecaeab1358e1748cbbf6ed954fd9a960692.zip frameworks_base-88728ecaeab1358e1748cbbf6ed954fd9a960692.tar.gz frameworks_base-88728ecaeab1358e1748cbbf6ed954fd9a960692.tar.bz2 |
Fix cleanup bug clearing script references.
Change-Id: I693dd7523658a32837764854c12a6b690e8fb7c6
Diffstat (limited to 'libs')
-rw-r--r-- | libs/rs/driver/rsdBcc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/rs/driver/rsdBcc.cpp b/libs/rs/driver/rsdBcc.cpp index 2038a4c..6e4edce 100644 --- a/libs/rs/driver/rsdBcc.cpp +++ b/libs/rs/driver/rsdBcc.cpp @@ -522,7 +522,7 @@ void rsdScriptDestroy(const Context *dc, Script *script) { if (drv->mFieldAddress) { for (size_t ct=0; ct < drv->mFieldCount; ct++) { if (drv->mFieldIsObject[ct]) { - rsiClearObject((ObjectBase **)&drv->mFieldAddress[ct]); + rsiClearObject((ObjectBase **)drv->mFieldAddress[ct]); } } delete [] drv->mFieldAddress; |