TINSEL: Don't leak _curChunk on exit.
This commit is contained in:
parent
b53a299790
commit
e21764be76
1 changed files with 1 additions and 0 deletions
|
@ -485,6 +485,7 @@ PCMMusicPlayer::PCMMusicPlayer() {
|
|||
|
||||
PCMMusicPlayer::~PCMMusicPlayer() {
|
||||
_vm->_mixer->stopHandle(_handle);
|
||||
delete _curChunk;
|
||||
}
|
||||
|
||||
void PCMMusicPlayer::startPlay(int id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue