Bug Fix: Free memory buffers used by minimp3
Some checks are pending
Check if Cog buildable / Build Universal Cog.app (push) Waiting to run

This was being leaked when playing static, seekable files. Oops.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
Christopher Snowhill 2025-03-23 20:03:44 -07:00
parent c24d914127
commit 184e1f14c9

View file

@ -276,6 +276,9 @@ static int mp3_seek_callback(uint64_t position, void *user_data) {
}
- (void)close {
if(seekable) {
mp3dec_ex_close(&_decoder_ex);
}
if(_source) {
_source = nil;
}