mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
Replaced delete operator with delete[]
svn-id: r44514
This commit is contained in:
parent
7d6848dfa3
commit
e67b0ef08c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user