iPhoneCoreDataRecipes iCloud Sample Code Triple Release
| Originator: | mb | ||
| Number: | rdar://10338681 | Date Originated: | |
| Status: | Closed | Resolved: | Closed |
| Product: | Product Version: | ||
| Classification: | Reproducible: |
24-Oct-2011 10:31 PM Brian Capps: 'iPhoneCoreDataRecipes.zip' was successfully uploaded 24-Oct-2011 10:31 PM Brian Capps: Summary: In the iPhoneCoreDataRecipes iCloud Sample Code, in RecipesAppDelegate.m, managedObjectContext__ is released three times in a row in dealloc, while managedObjectModel__ and persistentStoreCoordinator__ are never released. Steps to Reproduce: 1. Open the Recipes Sample project 2. Navigate to RecipesAppDelegate.m 3. Observe the dealloc method Expected Results: managedObjectContext__, managedObjectModel__, and persistentStoreCoordinator__ are released once each in dealloc. Actual Results: managedObjectContext__ is released three times, while managedObjectModel__ and persistentStoreCoordinator__ are not released in dealloc. Regression: Occurs in all version of sample code. Notes: Further discussion can be found in this thread: https://devforums.apple.com/thread/126670?tstart=0
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!