aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/kyra_v2.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2008-03-15 11:44:36 +0000
committerJohannes Schickel2008-03-15 11:44:36 +0000
commit9ff187ad63221e91681353438ce702fe59860b5c (patch)
treec59289b9c77e38f5a83a46e217f4311b8e415cd2 /engines/kyra/kyra_v2.cpp
parentbe9f33c3bee8d732653e537f4c5eb1baa62034e9 (diff)
downloadscummvm-rg350-9ff187ad63221e91681353438ce702fe59860b5c.tar.gz
scummvm-rg350-9ff187ad63221e91681353438ce702fe59860b5c.tar.bz2
scummvm-rg350-9ff187ad63221e91681353438ce702fe59860b5c.zip
Fixed another valgrind warning.
svn-id: r31128
Diffstat (limited to 'engines/kyra/kyra_v2.cpp')
-rw-r--r--engines/kyra/kyra_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/kyra_v2.cpp b/engines/kyra/kyra_v2.cpp
index e4deeb3ed0..90192c3518 100644
--- a/engines/kyra/kyra_v2.cpp
+++ b/engines/kyra/kyra_v2.cpp
@@ -157,7 +157,7 @@ KyraEngine_v2::~KyraEngine_v2() {
if (_sequenceSoundList) {
for (int i = 0; i < _sequenceSoundListSize; i++) {
if (_sequenceSoundList[i])
- delete _sequenceSoundList[i];
+ delete [] _sequenceSoundList[i];
}
delete [] _sequenceSoundList;
_sequenceSoundList = NULL;