diff options
author | Jason Sams <rjsams@android.com> | 2009-09-25 16:37:33 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2009-09-25 16:37:33 -0700 |
commit | 61f08d6fa7c7657e9fbcd17e9a1c5b9114bb3844 (patch) | |
tree | e836663efc3047198d5aef1723cee4e5556fe8c4 /libs/rs/rsScript.cpp | |
parent | 66b2771d745aa66df5cf80b300b5ba0f936ff22e (diff) |
Improved object lifecycle tracking and fix leaks.
Diffstat (limited to 'libs/rs/rsScript.cpp')
-rw-r--r-- | libs/rs/rsScript.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rs/rsScript.cpp b/libs/rs/rsScript.cpp index f9526fe0bfdf..cb1436b0bacd 100644 --- a/libs/rs/rsScript.cpp +++ b/libs/rs/rsScript.cpp @@ -21,6 +21,8 @@ using namespace android::renderscript; Script::Script(Context *rsc) : ObjectBase(rsc) { + mAllocFile = __FILE__; + mAllocLine = __LINE__; memset(&mEnviroment, 0, sizeof(mEnviroment)); mEnviroment.mClearColor[0] = 0; mEnviroment.mClearColor[1] = 0; |