summaryrefslogtreecommitdiff
path: root/libs/hwui/Patch.cpp
diff options
context:
space:
mode:
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;
}
///////////////////////////////////////////////////////////////////////////////