From 61f08d6fa7c7657e9fbcd17e9a1c5b9114bb3844 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Fri, 25 Sep 2009 16:37:33 -0700 Subject: Improved object lifecycle tracking and fix leaks. --- libs/rs/rsAllocation.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/rs/rsAllocation.cpp') 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; -- cgit v1.1