From f65e9a17c34daeaa93b7de99b639cddcc6997abe Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Wed, 7 May 2008 14:23:50 +0000 Subject: Changed the two instances of "delete []" into "delete[] " as well svn-id: r31926 --- engines/gob/goblin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/gob/goblin.cpp') 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]; } -- cgit v1.2.3