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/rsScriptC.cpp | |
| parent | 66b2771d745aa66df5cf80b300b5ba0f936ff22e (diff) | |
| download | frameworks_base-61f08d6fa7c7657e9fbcd17e9a1c5b9114bb3844.zip frameworks_base-61f08d6fa7c7657e9fbcd17e9a1c5b9114bb3844.tar.gz frameworks_base-61f08d6fa7c7657e9fbcd17e9a1c5b9114bb3844.tar.bz2 | |
Improved object lifecycle tracking and fix leaks.
Diffstat (limited to 'libs/rs/rsScriptC.cpp')
| -rw-r--r-- | libs/rs/rsScriptC.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rs/rsScriptC.cpp b/libs/rs/rsScriptC.cpp index fb8180f..e63ed24 100644 --- a/libs/rs/rsScriptC.cpp +++ b/libs/rs/rsScriptC.cpp @@ -35,6 +35,8 @@ using namespace android::renderscript; ScriptC::ScriptC(Context *rsc) : Script(rsc) { + mAllocFile = __FILE__; + mAllocLine = __LINE__; mAccScript = NULL; memset(&mProgram, 0, sizeof(mProgram)); } |
