commit | 31529ff7918ce891fba9a660d0a861eb313ea554 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Fri Sep 17 10:26:31 2010 -0700 |
committer | Romain Guy <romainguy@google.com> | Fri Sep 17 10:26:31 2010 -0700 |
tree | 8be25943daf28a7e39af5d87d389abf1e986dd5a | |
parent | a977120681904ee6309f3e90f51c6cc43615c007 [diff] [blame] |
Correctly free memory. Change-Id: I08fcbfa7d27ae413e0a8e8ca6ea305c8530a72c1
diff --git a/libs/hwui/Patch.cpp b/libs/hwui/Patch.cpp index 0a6eca3..ca0a0b1 100644 --- a/libs/hwui/Patch.cpp +++ b/libs/hwui/Patch.cpp
@@ -34,7 +34,7 @@ } Patch::~Patch() { - delete vertices; + delete[] vertices; } ///////////////////////////////////////////////////////////////////////////////