aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/goblin.cpp
diff options
context:
space:
mode:
authorSven Hesse2008-05-07 14:23:50 +0000
committerSven Hesse2008-05-07 14:23:50 +0000
commitf65e9a17c34daeaa93b7de99b639cddcc6997abe (patch)
tree574973678bfca7420a9ea3216729517bf80978a8 /engines/gob/goblin.cpp
parent3d9ea59616cd6f559b8a6e25f56734972fb7badf (diff)
downloadscummvm-rg350-f65e9a17c34daeaa93b7de99b639cddcc6997abe.tar.gz
scummvm-rg350-f65e9a17c34daeaa93b7de99b639cddcc6997abe.tar.bz2
scummvm-rg350-f65e9a17c34daeaa93b7de99b639cddcc6997abe.zip
Changed the two instances of "delete []" into "delete[] " as well
svn-id: r31926
Diffstat (limited to 'engines/gob/goblin.cpp')
-rw-r--r--engines/gob/goblin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/goblin.cpp b/engines/gob/goblin.cpp
index 64a2b15ef4..f97bd14fed 100644
--- a/engines/gob/goblin.cpp
+++ b/engines/gob/goblin.cpp
@@ -164,7 +164,7 @@ Goblin::~Goblin() {
for (col = 0; col < 6; col++)
if (_goblins[i]->realStateMach[state][col])
delete _goblins[i]->realStateMach[state][col];
- delete []_goblins[i]->realStateMach;
+ delete[] _goblins[i]->realStateMach;
}
delete _goblins[i];
}
@@ -176,7 +176,7 @@ Goblin::~Goblin() {
for (col = 0; col < 6; col++)
if (_objects[i]->realStateMach[state][col])
delete _objects[i]->realStateMach[state][col];
- delete []_objects[i]->realStateMach;
+ delete[] _objects[i]->realStateMach;
}
delete _objects[i];
}