• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Releasing Arrays Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Releasing Arrays Question
      • From: mmalcolm crawford <email@hidden>
    • Re: Releasing Arrays Question
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: substringWithRange: memory leak problem
  • Next by Date: Re: Releasing Arrays Question
  • Previous by thread: Re: Cocoa + NATPMP
  • Next by thread: Re: Releasing Arrays Question
  • Index(es):
    • Date
    • Thread