Releasing Arrays Question
Releasing Arrays Question
- Subject: Releasing Arrays Question
- From: James Pengra <email@hidden>
- Date: Wed, 28 Sep 2005 09:45:35 -0700
Friends,
I know that when you remove an object from an array, a
release message is sent to that object, so that it is not necessary
to release it separately.
However, I can't seem to find a definitive answer to what
happens when I release the array itself. Do the objects in the array
all get automatically released or are they left stranded? Do I create
a memory leak by not cleaning out an array of objects before the
array is released?
Thanks, Jim
_______________________________________________
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