Memory Leak in - [NSUserDefaults initWithSuiteName:]

Originator:sethfri
Number:rdar://20805122 Date Originated:5/4/2015
Status:Duplicate/19330231/Closed Resolved:Yes
Product:iOS Product Version:8.3, Watch OS 1.0
Classification:Performance Reproducible:Always
 
Summary:
When trying to use - [NSUserDefaults initWithSuiteName:], a couple of memory leaks occur in - [NSURL path]. Please see screenshots from Instruments for more details

Steps to Reproduce:
1. Use - [NSUserDefaults initWithSuiteName:]
2. Leak

Expected Results:
This method should not leak

Actual Results:
This method creates some memory leaks

Version:
iOS 8.3, Watch OS 1.0

Notes:


Configuration:
iPhone 6, Apple Watch Sport 42mm

Attachments:
'Screen Shot 2015-04-25 at 2.12.39 AM.png', 'Screen Shot 2015-04-25 at 2.12.57 AM.png' and 'Screen Shot 2015-04-25 at 2.13.12 AM.png' were successfully uploaded.

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!