diff options
author | Willem Jan Palenstijn | 2013-04-17 23:33:51 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-04-17 23:34:06 +0200 |
commit | 23da164136271c5c1b79cef2c62d03d3b136ccbc (patch) | |
tree | d4d2ed04b663cda6329b3f8dd2f0ead64efe8c41 | |
parent | 1dc58b0b2a361865aa0f5f5202297c4834ba2675 (diff) | |
download | scummvm-rg350-23da164136271c5c1b79cef2c62d03d3b136ccbc.tar.gz scummvm-rg350-23da164136271c5c1b79cef2c62d03d3b136ccbc.tar.bz2 scummvm-rg350-23da164136271c5c1b79cef2c62d03d3b136ccbc.zip |
SCI: Fix memory leak
-rw-r--r-- | engines/sci/console.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp index c5ff6b454b..50fae61de0 100644 --- a/engines/sci/console.cpp +++ b/engines/sci/console.cpp @@ -2227,6 +2227,7 @@ bool Console::cmdIsSample(int argc, const char **argv) { DebugPrintf("Sample size: %d, sample rate: %d, channels: %d, digital channel number: %d\n", track->digitalSampleSize, track->digitalSampleRate, track->channelCount, track->digitalChannelNr); + delete soundRes; return true; } |