aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2009-10-01 12:03:12 +0000
committerPaul Gilbert2009-10-01 12:03:12 +0000
commite67b0ef08cbd84abeae1f81b452a038322028889 (patch)
tree146b6f4ae5faf6a2c016cfbe070838b560a3b4b9
parent7d6848dfa3ceebe2d618c8ba59a03cae631bacf1 (diff)
downloadscummvm-rg350-e67b0ef08cbd84abeae1f81b452a038322028889.tar.gz
scummvm-rg350-e67b0ef08cbd84abeae1f81b452a038322028889.tar.bz2
scummvm-rg350-e67b0ef08cbd84abeae1f81b452a038322028889.zip
Replaced delete operator with delete[]
svn-id: r44514
-rw-r--r--engines/lure/res_struct.cpp2
1 files changed, 1 insertions, 1 deletions
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