• 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
Re: Newbie memory management question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie memory management question


  • Subject: Re: Newbie memory management question
  • From: Larry Fransson <email@hidden>
  • Date: Wed, 6 Oct 2004 02:18:35 -0700


On Oct 5, 2004, at 20:16, Aaron Boothello wrote:

If an object(superObject) has an item within it that is dynamically allocated as well (lets call this miniObject), what happens when you release the superObject ?

If miniObject has not been released in some way before superObject is released (such as in superObject's -dealloc method), then miniObject gets leaked.

Larry Fransson
Seattle, WA

_______________________________________________
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
References: 
 >Newbie memory management question (From: Aaron Boothello <email@hidden>)
 >Re: Newbie memory management question (From: Scott Stevenson <email@hidden>)
 >Re: Newbie memory management question (From: Aaron Boothello <email@hidden>)

  • Prev by Date: NSFileWrapper question
  • Next by Date: Re: FOUND Workaround Re: Disk Utility....
  • Previous by thread: Re: Newbie memory management question
  • Next by thread: fileWrapperRepresentationOfType: is not called
  • Index(es):
    • Date
    • Thread