Availability checks are causing a memory leak

Originator:christian.noon
Number:rdar://23689364 Date Originated:30-Nov-2015 09:43 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 7.1.1
Classification:Serious Bug Reproducible:Always
 
Summary:
We're seeing memory leaks in an availability check we're using in Alamofire. Here's a link to the code that is triggering the leak.

* https://github.com/Alamofire/Alamofire/blob/master/Source/ParameterEncoding.swift#L230-L247

Here's a link to the issue on GitHub with more information.

* https://github.com/Alamofire/Alamofire/issues/915#issuecomment-159706205

I'd be happy to provide more information if necessary, but I'm assuming this is already a known issue.

Steps to Reproduce:


Expected Results:


Actual Results:


Version:
Xcode 7.1.1

Notes:


Configuration:


Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!