• 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: Alastair Houghton <email@hidden>
  • Date: Thu, 25 Mar 2004 09:18:48 +0000

On 24 Mar 2004, at 23:52, Shawn Erickson wrote:

> On Mar 24, 2004, at 11:14 AM, Alastair Houghton wrote:
>
>> Alternatively, you can
>> immediately release any individual autoreleased object by doing
>>
>> [[someObject retain] release];
>>
>> (The -retain increments the reference count, removing it from the
>> autorelease pool, then the -release triggers the deallocation of the
>> object.)
>
> Outlining what you said in the above...

No, ignore it, it's wrong.

--
http://www.alastairs-place.net

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: Memory management question
  • Next by Date: Returning structs of NSStrings
  • Previous by thread: Re: Memory management question
  • Next by thread: Re: Memory management question
  • Index(es):
    • Date
    • Thread