AVCaptureDeviceFormat has two methods mediaType and formatDescription that are both documented with:
The caller assumes no ownership of the returned value and should not CFRelease it.
However, both methods also return Retained objects, which implement a Drop handler that calls objc_release_fast.
This gives the impression that memory is being released here when it shouldn't.
AVCaptureDeviceFormathas two methodsmediaTypeandformatDescriptionthat are both documented with:However, both methods also return
Retainedobjects, which implement aDrophandler that callsobjc_release_fast.This gives the impression that memory is being released here when it shouldn't.