Delete the mutex when we're done with it.

svn-id: r12107
This commit is contained in:
Torbjörn Andersson 2004-01-03 11:12:35 +00:00
parent edea972b4b
commit e73363bd09

View File

@ -118,6 +118,8 @@ SwordMusic::~SwordMusic() {
_mixer->setupPremix(0, 0);
delete _converter[0];
delete _converter[1];
if (_mutex)
_system->delete_mutex(_mutex);
}
void SwordMusic::passMixerFunc(void *param, int16 *buf, uint len) {