diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mohawk/riven_scripts.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/mohawk/riven_scripts.cpp b/engines/mohawk/riven_scripts.cpp index 49ab260fb9..e70de75bd2 100644 --- a/engines/mohawk/riven_scripts.cpp +++ b/engines/mohawk/riven_scripts.cpp @@ -344,6 +344,11 @@ void RivenScript::playScriptSLST(uint16 op, uint16 argc, uint16 *argv) { // Play the requested sound list _vm->_sound->playSLST(slstRecord); _vm->_activatedSLST = true; + + delete[] slstRecord.sound_ids; + delete[] slstRecord.volumes; + delete[] slstRecord.balances; + delete[] slstRecord.u2; } // Command 4: play local tWAV resource (twav_id, volume, block) |