Memory leak in default implementation of "validateValue:forKey:error:"
Originator: | joakim.andersson | ||
Number: | rdar://37115134 | Date Originated: | February 1 2018 |
Status: | Duplicate/37106747 | Resolved: | |
Product: | iOS + SDK | Product Version: | |
Classification: | Reproducible: | Always |
Area: Foundation Summary: In iOS11, every call to the method "validateValue:forKey:error:" on any NSObject derived object leaks. If the method is implemented in a test class, and only returns YES, no leaks are detected. Steps to Reproduce: Call "validateValue:forKey:error:" on any object, regardless of the value is valid or not. Can be reproduced on an iOS 11 device or simulator. Expected Results: No memory leak, as in iOS 10. Actual Results: Memory leak Version/Build: Xcode Version 9.2 (9C40b) Leaks on: iPhone X Simulator 11.2 (15C107) iPad Pro (mlpw2kn/a) 11.2.5 (15D60) No leaks on: Iphone 7 Plus Simulator (10.3.1)
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!