aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-25 12:41:14 +0000
committerJohannes Schickel2009-05-25 12:41:14 +0000
commitc7d9e4dc0c5db02288bfc3d274f469e394e6b288 (patch)
tree54b345affa19e41a821b6755b2266a0e63db66b9 /engines
parentfcc45186a535e5387caa5cdb8a594ae7fff04f65 (diff)
downloadscummvm-rg350-c7d9e4dc0c5db02288bfc3d274f469e394e6b288.tar.gz
scummvm-rg350-c7d9e4dc0c5db02288bfc3d274f469e394e6b288.tar.bz2
scummvm-rg350-c7d9e4dc0c5db02288bfc3d274f469e394e6b288.zip
Fix mismatching new[]/delete pair (silences a valgrind warning).
svn-id: r40887
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp
index e65e1c89d4..dd9e5f54fd 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -1167,7 +1167,7 @@ AudioResource::AudioResource() {
}
AudioResource::~AudioResource() {
- delete _audioMap;
+ delete[] _audioMap;
_audioMap = 0;
}