I just ran a customary leak check and found that there is a CFStringRef leaking in assign_device_to_audioqueue in SDL_coreaudio.m. Version is SDL 2.30.3
I'm not familiar with the core audio api, but it seems like AudioQueueSetProperty makes a copy of the string, so it's safe to CFBridgingRelease(devuid);? It fixes the leak, but wanted to ask before submitting a pull request.
I just ran a customary leak check and found that there is a CFStringRef leaking in
assign_device_to_audioqueue
in SDL_coreaudio.m. Version is SDL 2.30.3I'm not familiar with the core audio api, but it seems like
AudioQueueSetProperty
makes a copy of the string, so it's safe toCFBridgingRelease(devuid);
? It fixes the leak, but wanted to ask before submitting a pull request.Here's the code for quick reference