[planetblupi] 06/19: Fix leak with audio when exiting

Didier Raboud odyx at moszumanska.debian.org
Fri Dec 8 09:03:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository planetblupi.

commit 85b8f4373859e4eb6335ad3caff3dce8283e5312
Author: Mathieu Schroeter <mathieu at schroetersa.ch>
Date:   Mon Nov 27 06:46:07 2017 +0100

    Fix leak with audio when exiting
---
 src/sound.cxx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/sound.cxx b/src/sound.cxx
index b0f46a2..bfab4e1 100644
--- a/src/sound.cxx
+++ b/src/sound.cxx
@@ -91,6 +91,8 @@ CSound::~CSound ()
     Mix_FreeMusic (m_pMusic);
     m_pMusic = nullptr;
   }
+
+  Mix_CloseAudio ();
 }
 
 // Initialisation de DirectSound.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/planetblupi.git



More information about the Pkg-games-commits mailing list