SHERLOCK: Free memory leaks from unreleased sound resources
This commit is contained in:
parent
9da6a90713
commit
ec56344ed7
2 changed files with 2 additions and 0 deletions
|
@ -313,6 +313,7 @@ bool Music::playMusic(const Common::String &name) {
|
|||
assert(data);
|
||||
|
||||
stream->read(data, dataSize);
|
||||
delete stream;
|
||||
|
||||
// for dumping the music tracks
|
||||
#if 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue