mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Fix leak with audio when exiting
This commit is contained in:
parent
a1b5e5c76f
commit
85b8f43738
@ -91,6 +91,8 @@ CSound::~CSound ()
|
||||
Mix_FreeMusic (m_pMusic);
|
||||
m_pMusic = nullptr;
|
||||
}
|
||||
|
||||
Mix_CloseAudio ();
|
||||
}
|
||||
|
||||
// Initialisation de DirectSound.
|
||||
|
Loading…
x
Reference in New Issue
Block a user