mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Fix memory leak in audio (bug #249)
This commit is contained in:
@@ -65,6 +65,8 @@ namespace openal
|
||||
{
|
||||
stop();
|
||||
alDeleteBuffers((type == TYPE_STATIC) ? 1 : MAX_BUFFERS, buffers);
|
||||
if (decoder)
|
||||
decoder->release();
|
||||
}
|
||||
|
||||
love::audio::Source * Source::copy()
|
||||
|
||||
Reference in New Issue
Block a user