diff options
Diffstat (limited to 'sword1')
-rw-r--r-- | sword1/music.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sword1/music.cpp b/sword1/music.cpp index 9e8bcee336..7bf913f02a 100644 --- a/sword1/music.cpp +++ b/sword1/music.cpp @@ -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) { |