summaryrefslogtreecommitdiff
path: root/libs/rs/rsScriptC.cpp
diff options
context:
space:
mode:
author Jason Sams <rjsams@android.com> 2010-12-24 14:38:39 -0800
committer Jason Sams <rjsams@android.com> 2010-12-24 14:42:54 -0800
commit5c68a712dacf8cf0a419f1b743474a3b4290d024 (patch)
tree92653c54d1666735087415086c3215abc62016aa /libs/rs/rsScriptC.cpp
parentbccc78ffa57cb259010c25630055eef95c0e0c2c (diff)
Fix teardown bug found in books.
Change-Id: I9ac449b644108148b331e0c552f289bf80a07f7e
Diffstat (limited to 'libs/rs/rsScriptC.cpp')
-rw-r--r--libs/rs/rsScriptC.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/rs/rsScriptC.cpp b/libs/rs/rsScriptC.cpp
index 64eb7d269c27..ef06033bf56a 100644
--- a/libs/rs/rsScriptC.cpp
+++ b/libs/rs/rsScriptC.cpp
@@ -37,13 +37,13 @@ using namespace android::renderscript;
ScriptC::ScriptC(Context *rsc) : Script(rsc) {
- LOGD(">>>> ScriptC ctor called, obj=%x", this);
+ LOGD(">>>> ScriptC ctor called, obj=%p", this);
mBccScript = NULL;
memset(&mProgram, 0, sizeof(mProgram));
}
ScriptC::~ScriptC() {
- LOGD(">>>> ~ScriptC()");
+ LOGD(">>>> ~ScriptC() mBccScript = %p", mBccScript);
if (mBccScript) {
bccDeleteScript(mBccScript);
LOGD(">>>> ~ScriptC(mBCCScript)");