Re: Releasing what's in an array?
Re: Releasing what's in an array?
- Subject: Re: Releasing what's in an array?
- From: Mark Dawson <email@hidden>
- Date: Fri, 25 Feb 2005 10:45:48 -0800
Yes, you are (more) correct.
The question remains: does a release of an array cause a release of its
containing elements, or do I explicitly need to remove the elements
before releasing that array?
Thanks,
Mark
In other words...
removing an object out of an array causes a release to be sent to it
and the object possibly deallocated if there isn't at least a prior
retain (implicit or otherwise) causing that object to have a non-zero
retain count
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden