• 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: (no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)


  • Subject: Re: (no subject)
  • From: Graham Perks <email@hidden>
  • Date: Fri, 4 May 2007 23:19:51 -0500


On May 2, 2007, at 1:31 PM, Alessandro Barile wrote:

NSMutableAttributedString* attributedInfoString = [[NSMutableAttributedString alloc] initWithHTML:[ pHtml dataUsingEncoding: NSUnicodeStringEncoding ] documentAttributes:nil];
[ attributedInfoString release ];


where pHtml is NSString initializied with html tag code.

If you execute only this code, you can see that "attributedInfoString" never releases the memory.

What memory are you expecting it to release? How are you able to tell it is not releasing memory?


Graham. Perks.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: initWithHTML Memory leak
      • From: Alessandro Barile <email@hidden>
References: 
 >(no subject) (From: Alessandro Barile <email@hidden>)

  • Prev by Date: Re: Two simple questions regarding Core-Data
  • Next by Date: Overriding Save function
  • Previous by thread: (no subject)
  • Next by thread: Re: initWithHTML Memory leak
  • Index(es):
    • Date
    • Thread