aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2007-04-15 08:34:53 +0000
committerTravis Howell2007-04-15 08:34:53 +0000
commitc838ae690b85337b558ad582c9757dcf1bd349eb (patch)
treed80b1bc3615e7854f3bc1cc57598f34feecd6474
parent7e0c88592fcec5ec77024918d19521520156695a (diff)
downloadscummvm-rg350-c838ae690b85337b558ad582c9757dcf1bd349eb.tar.gz
scummvm-rg350-c838ae690b85337b558ad582c9757dcf1bd349eb.tar.bz2
scummvm-rg350-c838ae690b85337b558ad582c9757dcf1bd349eb.zip
Fix a few Valgrind warnings.
svn-id: r26484
-rw-r--r--engines/lure/res_struct.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/res_struct.cpp b/engines/lure/res_struct.cpp
index 654430c46b..395b7ffc8f 100644
--- a/engines/lure/res_struct.cpp
+++ b/engines/lure/res_struct.cpp
@@ -825,8 +825,8 @@ RandomActionSet::RandomActionSet(uint16 *&offset) {
}
RandomActionSet::~RandomActionSet() {
- delete _types;
- delete _ids;
+ delete [] _types;
+ delete [] _ids;
}
RandomActionSet *RandomActionList::getRoom(uint16 roomNumber) {