mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
TINSEL: Don't leak _curChunk on exit.
This commit is contained in:
parent
b53a299790
commit
e21764be76
@ -485,6 +485,7 @@ PCMMusicPlayer::PCMMusicPlayer() {
|
||||
|
||||
PCMMusicPlayer::~PCMMusicPlayer() {
|
||||
_vm->_mixer->stopHandle(_handle);
|
||||
delete _curChunk;
|
||||
}
|
||||
|
||||
void PCMMusicPlayer::startPlay(int id) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user