fix memory leak in sound stream

This commit is contained in:
Eduardo Bart
2012-04-14 16:52:00 -03:00
parent 341898f1d0
commit fe33614c3a
2 changed files with 21 additions and 20 deletions

View File

@@ -61,7 +61,7 @@ void SoundManager::terminate()
m_musicEnabled = false;
m_soundEnabled = false;
alcMakeContextCurrent(NULL);
alcMakeContextCurrent(nullptr);
if(m_context) {
alcDestroyContext(m_context);