free decrunch buffer once protracker module is loaded

svn-id: r26822
This commit is contained in:
Gregory Montoir 2007-05-13 02:32:38 +00:00
parent ea3b55a655
commit 1eef4cc779

View File

@ -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());
}