aboutsummaryrefslogtreecommitdiff
path: root/engines/made
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-02 13:43:19 +0200
committerEugene Sandulenko2016-05-02 15:19:08 +0200
commit62142e5add7b46c084727f00f94f9c5593db1e73 (patch)
tree02c0c86a7c905bd12fccd24ab396d22cd86c7b9e /engines/made
parent050a1cd605872f245e3a378b8066323b724dd5bb (diff)
downloadscummvm-rg350-62142e5add7b46c084727f00f94f9c5593db1e73.tar.gz
scummvm-rg350-62142e5add7b46c084727f00f94f9c5593db1e73.tar.bz2
scummvm-rg350-62142e5add7b46c084727f00f94f9c5593db1e73.zip
MADE: Plug memory leak
Diffstat (limited to 'engines/made')
-rw-r--r--engines/made/sound.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/made/sound.cpp b/engines/made/sound.cpp
index ad49031e7b..2545273859 100644
--- a/engines/made/sound.cpp
+++ b/engines/made/sound.cpp
@@ -237,6 +237,7 @@ void decompressSound(byte *source, byte *dest, uint16 chunkSize, uint16 chunkCou
break;
default:
+ delete[] soundBuffer;
return;
}