mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Resolve memory leak in sources
This commit is contained in:
@@ -159,6 +159,7 @@ namespace openal
|
||||
for(std::map<Source *, ALuint>::iterator i = playing.begin(); i != playing.end(); i++)
|
||||
{
|
||||
i->first->stopAtomic();
|
||||
i->first->release();
|
||||
available.push(i->second);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user