[Scummvm-git-logs] scummvm master -> f179fe662b74301754f73d663b74228380db7354

bluegr noreply at scummvm.org
Thu Nov 7 20:42:46 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
f179fe662b DGDS: Delete the music driver on shutdown


Commit: f179fe662b74301754f73d663b74228380db7354
    https://github.com/scummvm/scummvm/commit/f179fe662b74301754f73d663b74228380db7354
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2024-11-07T22:42:27+02:00

Commit Message:
DGDS: Delete the music driver on shutdown

Changed paths:
    engines/dgds/sound.cpp


diff --git a/engines/dgds/sound.cpp b/engines/dgds/sound.cpp
index 3484cdb929e..5e2d40b31a4 100644
--- a/engines/dgds/sound.cpp
+++ b/engines/dgds/sound.cpp
@@ -205,6 +205,8 @@ Sound::~Sound() {
 
 	for (auto &data: _sfxData)
 		delete [] data._data;
+
+	delete _music;
 }
 
 void Sound::playAmigaSfx(const Common::String &filename, byte channel, byte volume) {




More information about the Scummvm-git-logs mailing list