summaryrefslogtreecommitdiff
path: root/libs/rs/rsScript.cpp
diff options
context:
space:
mode:
author Stephen Hines <srhines@google.com> 2011-01-27 19:40:24 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2011-01-27 19:40:24 -0800
commit55f8f12119ad2fbb6afcb7647a1a18f4aa86f0f5 (patch)
treeacee4470bd15302b011aa912cead59ad34338562 /libs/rs/rsScript.cpp
parentadc0a5bdd220dab563cb4836989ad6acb1b32189 (diff)
parent38f8d9d7a17037a34f4df229b1089536a6cdc8dc (diff)
Merge "Correctly free resouces bound to scripts when the scripts are deleted." into honeycomb
Diffstat (limited to 'libs/rs/rsScript.cpp')
-rw-r--r--libs/rs/rsScript.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/rs/rsScript.cpp b/libs/rs/rsScript.cpp
index efdc626071f8..9ada9c299ac4 100644
--- a/libs/rs/rsScript.cpp
+++ b/libs/rs/rsScript.cpp
@@ -78,8 +78,6 @@ void Script::setVarObj(uint32_t slot, ObjectBase *val) {
(*destPtr)->decSysRef();
}
*destPtr = val;
- } else {
- LOGV("Calling setVarObj on slot = %i which is null. This is dangerous because the script will not hold a ref count on the object.", slot);
}
}