diff options
author | David Turner | 2010-11-30 01:49:00 +0000 |
---|---|---|
committer | David Turner | 2010-11-30 01:49:00 +0000 |
commit | 7aca10bf9a4e28eb9c3d7966cd8d71cd29e921d4 (patch) | |
tree | ccf2b0f69c150e7e483dbc7de19cac7280e89a61 | |
parent | b8373668711390ceff0b783c4bd3c17e81873174 (diff) | |
download | scummvm-rg350-7aca10bf9a4e28eb9c3d7966cd8d71cd29e921d4.tar.gz scummvm-rg350-7aca10bf9a4e28eb9c3d7966cd8d71cd29e921d4.tar.bz2 scummvm-rg350-7aca10bf9a4e28eb9c3d7966cd8d71cd29e921d4.zip |
HUGO: Close Memory Leak in PlayMusic() Function.
svn-id: r54664
-rw-r--r-- | engines/hugo/sound.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/hugo/sound.cpp b/engines/hugo/sound.cpp index a680e00b82..52ba60d2ac 100644 --- a/engines/hugo/sound.cpp +++ b/engines/hugo/sound.cpp @@ -293,6 +293,7 @@ void SoundHandler::playMusic(int16 tune) { _vm->getGameStatus().song = tune; seqPtr = _vm->_file->getSound(tune, &size); playMIDI(seqPtr, size); + free(seqPtr); } } |