mirror of
https://github.com/edubart/otclient.git
synced 2025-12-16 21:57:11 +01:00
fix memory leak in sound stream
This commit is contained in:
@@ -61,7 +61,7 @@ void SoundManager::terminate()
|
||||
m_musicEnabled = false;
|
||||
m_soundEnabled = false;
|
||||
|
||||
alcMakeContextCurrent(NULL);
|
||||
alcMakeContextCurrent(nullptr);
|
||||
|
||||
if(m_context) {
|
||||
alcDestroyContext(m_context);
|
||||
|
||||
Reference in New Issue
Block a user