| commit | f2649a961db2995e9e24a6c98f8a419f1496c1b7 | [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 | fcb8a48e8491e95afc367f9ae64214b7fa6c8bae | |
| parent | 1fddd90849deaae89b546ff492c345d485bbce42 [diff] [blame] |
Improved object lifecycle tracking and fix leaks.
diff --git a/rsAllocation.cpp b/rsAllocation.cpp index 96e128b..8ee6e5a 100644 --- a/rsAllocation.cpp +++ b/rsAllocation.cpp
@@ -24,6 +24,8 @@ Allocation::Allocation(Context *rsc, const Type *type) : ObjectBase(rsc) { + mAllocFile = __FILE__; + mAllocLine = __LINE__; mPtr = NULL; mCpuWrite = false;