What steps will reproduce the problem?
1. Generate code for "Objective-C for iOS".
2. Inspect -dealloc methods of generated object modules.
3. Notice that -release is being called on properties.
4. Further notice that an unnecessary check for nil is being made before
release.
What is the expected output? What do you see instead?
Properties should be set to nil in -dealloc. No prior check for nil should be
made.
i.e.
self.foo = nil;
self.bar = nil;
[super dealloc];
What version of the product are you using? On what operating system?
Latest, all OSes.
Please provide any additional information below.
Original issue reported on code.google.com by glen.sim...@gmail.com on 24 Apr 2012 at 6:22
Original issue reported on code.google.com by
glen.sim...@gmail.com
on 24 Apr 2012 at 6:22