diff options
author | Johannes Schickel | 2009-05-25 12:41:14 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-05-25 12:41:14 +0000 |
commit | c7d9e4dc0c5db02288bfc3d274f469e394e6b288 (patch) | |
tree | 54b345affa19e41a821b6755b2266a0e63db66b9 | |
parent | fcc45186a535e5387caa5cdb8a594ae7fff04f65 (diff) | |
download | scummvm-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
-rw-r--r-- | engines/sci/resource.cpp | 2 |
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; } |