aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--queen/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/graphics.cpp b/queen/graphics.cpp
index 1062695239..2340c3d91c 100644
--- a/queen/graphics.cpp
+++ b/queen/graphics.cpp
@@ -42,7 +42,7 @@ Graphics::Graphics(Display *display, Input *input, Resource *resource)
Graphics::~Graphics() {
uint32 i;
for(i = 0; i < ARRAYSIZE(_banks); ++i) {
- delete _banks[i].data;
+ delete[] _banks[i].data;
}
frameEraseAll(true);
delete[] _shrinkBuffer.data;