[Scummvm-git-logs] scummvm master -> 659ee35acd5aedf41c4eb4ad9c0c0feb1bb390bd

ccawley2011 ccawley2011 at gmail.com
Wed Aug 25 00:05:12 UTC 2021


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:
659ee35acd DS: Avoid deleting the mixer twice


Commit: 659ee35acd5aedf41c4eb4ad9c0c0feb1bb390bd
    https://github.com/scummvm/scummvm/commit/659ee35acd5aedf41c4eb4ad9c0c0feb1bb390bd
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2021-08-25T01:05:01+01:00

Commit Message:
DS: Avoid deleting the mixer twice

Changed paths:
    backends/mixer/maxmod/maxmod-mixer.cpp


diff --git a/backends/mixer/maxmod/maxmod-mixer.cpp b/backends/mixer/maxmod/maxmod-mixer.cpp
index e28d28f834..6cec007a2f 100644
--- a/backends/mixer/maxmod/maxmod-mixer.cpp
+++ b/backends/mixer/maxmod/maxmod-mixer.cpp
@@ -44,7 +44,6 @@ MaxModMixerManager::MaxModMixerManager(int freq, int bufSize)
 MaxModMixerManager::~MaxModMixerManager() {
 	_mixer->setReady(false);
 	mmStreamClose();
-	delete _mixer;
 }
 
 mm_word on_stream_request( mm_word length, mm_addr dest, mm_stream_formats format ) {




More information about the Scummvm-git-logs mailing list