From e67b0ef08cbd84abeae1f81b452a038322028889 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 1 Oct 2009 12:03:12 +0000 Subject: Replaced delete operator with delete[] svn-id: r44514 --- engines/lure/res_struct.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/lure') diff --git a/engines/lure/res_struct.cpp b/engines/lure/res_struct.cpp index 6fa52abc4a..31f6d8f240 100644 --- a/engines/lure/res_struct.cpp +++ b/engines/lure/res_struct.cpp @@ -1426,7 +1426,7 @@ CurrentActionEntry *CurrentActionEntry::loadFromStream(ReadStream *stream) { paramList[index] = stream->readUint16LE(); result->_supportData->setDetails2(action, numParams, paramList); - delete paramList; + delete[] paramList; result->_dynamicSupportData = true; } else { // Load action entry with an NPC schedule entry -- cgit v1.2.3