diff options
author | Sven Hesse | 2008-05-07 14:23:50 +0000 |
---|---|---|
committer | Sven Hesse | 2008-05-07 14:23:50 +0000 |
commit | f65e9a17c34daeaa93b7de99b639cddcc6997abe (patch) | |
tree | 574973678bfca7420a9ea3216729517bf80978a8 | |
parent | 3d9ea59616cd6f559b8a6e25f56734972fb7badf (diff) | |
download | scummvm-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
-rw-r--r-- | engines/gob/goblin.cpp | 4 |
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]; } |