Closed pyby closed 6 years ago
This is probably an Apple bug. We should file a report.
The leaks have been fixed. I could not reproduce them with an iOS 11 device (though I found other FigXPCMessageCopyCFObject
leaks).
With iOS 12, no leaks can be found anymore.
Issue overview
When calling -[AVAudioSession currentRoute], little leaks appear. (16 to 192 bytes).
Description of the problem
Using Instruments and the demo applications. Use the "Leak checks" tool, we can find those little leak. From AudioToolbox or AVFAudio libraries.
Environment information
Reproducibility
Links
http://stackoverflow.com/questions/41529859/instruments-show-leak-in-avaudiosessionportdescription-initwithporttype-xcod