summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsAllocation.cpp
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-09-25 16:37:33 -0700
committerJason Sams <rjsams@android.com>2009-09-25 16:37:33 -0700
commit61f08d6fa7c7657e9fbcd17e9a1c5b9114bb3844 (patch)
treee836663efc3047198d5aef1723cee4e5556fe8c4 /libs/rs/rsAllocation.cpp
parent66b2771d745aa66df5cf80b300b5ba0f936ff22e (diff)
downloadframeworks_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/rsAllocation.cpp')
-rw-r--r--libs/rs/rsAllocation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rs/rsAllocation.cpp b/libs/rs/rsAllocation.cpp
index 96e128b..8ee6e5a 100644
--- a/libs/rs/rsAllocation.cpp
+++ b/libs/rs/rsAllocation.cpp
@@ -24,6 +24,8 @@ using namespace android::renderscript;
Allocation::Allocation(Context *rsc, const Type *type) : ObjectBase(rsc)
{
+ mAllocFile = __FILE__;
+ mAllocLine = __LINE__;
mPtr = NULL;
mCpuWrite = false;