I was receiving malloc double free errors when a view removed itself, so all
of the releases I was doing in the view I commented out, the view killing
itself after it animates from visual view:
- (void) killMe:(NSString *)animationID finished:(NSNumber *)finished
context:(void *)context {
[self.view removeFromSuperview];
}
I no longer receive the malloc double free errors. I was creating NSStrings
and NSDateFormatters (init type stuff), all of which I previously was
releasing myself. Does it sound reasonable that the removeFromSuperview was
cleaning all that up already and thus the releases caused the errors? I am
trying to still get my head around memory management.
Thanks,
Eric
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]