aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hugo/sound.cpp1
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);
}
}