aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Eriksson2003-11-02 20:56:33 +0000
committerDavid Eriksson2003-11-02 20:56:33 +0000
commit495bba6751d4846e8b8ce1a254e8ad530befca33 (patch)
tree6b3f43863077ffad5ba5aba89d39deec6ac51a64
parent3ca74e5d4a1a30b2fb38e8c7d12794ea3cb9c247 (diff)
downloadscummvm-rg350-495bba6751d4846e8b8ce1a254e8ad530befca33.tar.gz
scummvm-rg350-495bba6751d4846e8b8ce1a254e8ad530befca33.tar.bz2
scummvm-rg350-495bba6751d4846e8b8ce1a254e8ad530befca33.zip
Match new[] with delete[].
svn-id: r11064
-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;