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

Re: Memory management question


  • Subject: Re: Memory management question
  • From: Bjoern Kriews <email@hidden>
  • Date: Wed, 24 Mar 2004 23:42:15 +0100

On 24.03.2004, at 23:02, Randall Meadows wrote:
When an object gets deallocated, is it then set to nil? In the above sample, is then "someObject" == nil? Or does that variable contain an invalid (unallocated) memory address, as would a similar pointer that has been free'd in POC (plain ol' C)?

It will contain an invalid address.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Memory management question (From: Randall Meadows <email@hidden>)
 >Re: Memory management question (From: Alastair Houghton <email@hidden>)
 >Re: Memory management question (From: Randall Meadows <email@hidden>)

  • Prev by Date: Looking for Cocoa Example: NSView
  • Next by Date: Re: SQLite Database
  • Previous by thread: Re: Memory management question
  • Next by thread: Re: Memory management question
  • Index(es):
    • Date
    • Thread