mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 02:10:28 +00:00
free decrunch buffer once protracker module is loaded
svn-id: r26822
This commit is contained in:
parent
ea3b55a655
commit
1eef4cc779
@ -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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user