summaryrefslogtreecommitdiff
path: root/libs/hwui/Patch.cpp
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2010-09-17 10:26:31 -0700
committer Romain Guy <romainguy@google.com> 2010-09-17 10:26:31 -0700
commit31529ff7918ce891fba9a660d0a861eb313ea554 (patch)
tree8be25943daf28a7e39af5d87d389abf1e986dd5a /libs/hwui/Patch.cpp
parenta977120681904ee6309f3e90f51c6cc43615c007 (diff)
Correctly free memory.
Change-Id: I08fcbfa7d27ae413e0a8e8ca6ea305c8530a72c1
Diffstat (limited to 'libs/hwui/Patch.cpp')
-rw-r--r--libs/hwui/Patch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Patch.cpp b/libs/hwui/Patch.cpp
index 0a6eca3b01be..ca0a0b1691de 100644
--- a/libs/hwui/Patch.cpp
+++ b/libs/hwui/Patch.cpp
@@ -34,7 +34,7 @@ Patch::Patch(const uint32_t xCount, const uint32_t yCount) {
}
Patch::~Patch() {
- delete vertices;
+ delete[] vertices;
}
///////////////////////////////////////////////////////////////////////////////