This inspection reports the owned objects stored in the local variables or parameters that are not released later or are overwritten by another value before they are released.
- You take ownership of an object if you create it using a method whose name begins with alloc or
new or contains copy, or if you send it a retain message.
- You use release or autorelease to relinquish ownership of an object
Objective-C memory management rules require each owned object to be released or autoreleased, see
Memory Management Programming Guide.
If ARC (Automatic Reference Counting) is on, this inspection is disabled.