diff options
author | Gregory Montoir | 2007-05-13 02:32:38 +0000 |
---|---|---|
committer | Gregory Montoir | 2007-05-13 02:32:38 +0000 |
commit | 1eef4cc7790191302f1e37756ac0288f5150de1e (patch) | |
tree | 780a4397fd6b240db9adcb46a9d386a82e103c81 /engines/agos | |
parent | ea3b55a655936d4ac87635ec101813be8ace0d01 (diff) | |
download | scummvm-rg350-1eef4cc7790191302f1e37756ac0288f5150de1e.tar.gz scummvm-rg350-1eef4cc7790191302f1e37756ac0288f5150de1e.tar.bz2 scummvm-rg350-1eef4cc7790191302f1e37756ac0288f5150de1e.zip |
free decrunch buffer once protracker module is loaded
svn-id: r26822
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/res_snd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/agos/res_snd.cpp b/engines/agos/res_snd.cpp index 4f49ad6121..9dd869915d 100644 --- a/engines/agos/res_snd.cpp +++ b/engines/agos/res_snd.cpp @@ -152,6 +152,7 @@ void AGOSEngine::loadModule(uint music) { Common::MemoryReadStream stream(dstBuf, dstSize); audioStream = Audio::makeProtrackerStream(&stream, _mixer->getOutputRate()); + free(dstBuf); } else { audioStream = Audio::makeProtrackerStream(&f, _mixer->getOutputRate()); } |