commit | b7a6c4340a35b7cc4ceeeccf6cc01ed82c99a8ba | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Mon Nov 02 14:25:10 2009 -0800 |
committer | Jason Sams <rjsams@android.com> | Mon Nov 02 14:25:10 2009 -0800 |
tree | 1c359a6e0e15c5843c7835b48c2ac6513aa4f1c4 | |
parent | ee98c24020c1634b02cde6d333968f04a0de941f [diff] [blame] |
Fix some leaks. This fixes the major malloc memory leak in allApps. Still tracking some much more minor issues.
diff --git a/libs/rs/rsAllocation.cpp b/libs/rs/rsAllocation.cpp index b7d1297..2cbfe17 100644 --- a/libs/rs/rsAllocation.cpp +++ b/libs/rs/rsAllocation.cpp
@@ -52,6 +52,8 @@ Allocation::~Allocation() { + free(mPtr); + mPtr = NULL; } void Allocation::setCpuWritable(bool)