commit | 61f08d6fa7c7657e9fbcd17e9a1c5b9114bb3844 | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Fri Sep 25 16:37:33 2009 -0700 |
committer | Jason Sams <rjsams@android.com> | Fri Sep 25 16:37:33 2009 -0700 |
tree | e836663efc3047198d5aef1723cee4e5556fe8c4 | |
parent | 66b2771d745aa66df5cf80b300b5ba0f936ff22e [diff] [blame] |
Improved object lifecycle tracking and fix leaks.
diff --git a/libs/rs/rsScript.cpp b/libs/rs/rsScript.cpp index f9526fe..cb1436b 100644 --- a/libs/rs/rsScript.cpp +++ b/libs/rs/rsScript.cpp
@@ -21,6 +21,8 @@ Script::Script(Context *rsc) : ObjectBase(rsc) { + mAllocFile = __FILE__; + mAllocLine = __LINE__; memset(&mEnviroment, 0, sizeof(mEnviroment)); mEnviroment.mClearColor[0] = 0; mEnviroment.mClearColor[1] = 0;