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/rsSimpleMesh.cpp b/libs/rs/rsSimpleMesh.cpp index b082fd7..434a35f 100644 --- a/libs/rs/rsSimpleMesh.cpp +++ b/libs/rs/rsSimpleMesh.cpp
@@ -99,6 +99,8 @@ SimpleMeshContext::~SimpleMeshContext() { + delete[] mVertexTypes; + delete[] mVertexBuffers; }