Re: pointer address changes for no reason
Re: pointer address changes for no reason
- Subject: Re: pointer address changes for no reason
- From: "Ewan Delanoy" <email@hidden>
- Date: Wed, 11 Apr 2007 18:38:16 +0200 (CEST)
- Importance: Normal
>Of course I'm taking
>what you wrote literally, assuming that you didn't mean
>"...".
Yes, I meant it literally.
>If you don't retain it, then you shouldn't release it--
>if super retains it
>during allocation, then super will release it during
>deallocation
You're right. I made that mistake
because I thought there was a difference between
the allocation phase (where initWithNibNamed: (or
some variant) is called, not just init:) and the deallocation
phase (where plain dealloc: is called). That's not what
caused the bug, though, as I have just checked.
Ewan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden