• 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: exceptions when NSTextStorage initialized with empty string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exceptions when NSTextStorage initialized with empty string


  • Subject: Re: exceptions when NSTextStorage initialized with empty string
  • From: "Stephen J. Butler" <email@hidden>
  • Date: Wed, 7 Apr 2010 11:27:07 -0500

On Wed, Apr 7, 2010 at 1:31 AM, Martin Hewitson
<email@hidden> wrote:
>                // Clean up
>                [textContainer release];
>                [layoutManager release];
>                [str release];

Are you sure that all these are balanced releases? The only one you
show allocating is layoutManager. In particular, the [str release]
concerns me.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: exceptions when NSTextStorage initialized with empty string
      • From: Martin Hewitson <email@hidden>
References: 
 >exceptions when NSTextStorage initialized with empty string (From: Martin Hewitson <email@hidden>)

  • Prev by Date: Re: exceptions when NSTextStorage initialized with empty string
  • Next by Date: Re: OS X Game Programming
  • Previous by thread: [SOLVED]: Re: exceptions when NSTextStorage initialized with empty string
  • Next by thread: Re: exceptions when NSTextStorage initialized with empty string
  • Index(es):
    • Date
    • Thread