diff options
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 |
commit | 2e8665de7c0eb4514c67baf8693d61c892e5303d (patch) | |
tree | 9eb68ca9ef39c15465f95b5296e41d8e424eb3e9 /rsScript.cpp | |
parent | e31775b3eee19595335d62bcbe3ad699d1e7e656 (diff) | |
download | rs-2e8665de7c0eb4514c67baf8693d61c892e5303d.tar.gz |
Correctly free resouces bound to scripts when the scripts are deleted.
Change-Id: Idfcc30f1a7de0badeb6d8254ed508938d89f4070
b: 3381615
Diffstat (limited to 'rsScript.cpp')
-rw-r--r-- | rsScript.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rsScript.cpp b/rsScript.cpp index efdc6260..9ada9c29 100644 --- a/rsScript.cpp +++ b/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); } } |