• 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
SOLVED-Need help tracking down memory issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SOLVED-Need help tracking down memory issue


  • Subject: SOLVED-Need help tracking down memory issue
  • From: <email@hidden>
  • Date: Thu, 10 Mar 2005 12:07:53 +0000

Thanks to Christian and Kelvin for their help with this!

James

>
> From: Christian Schneider <email@hidden>
> Date: 2005/03/10 Thu AM 11:27:03 GMT
> To: "email@hidden" <email@hidden>
> CC: email@hidden
> Subject: Re: Need help tracking down memory issue
>
> James,
>
> >                         NSString* fingerprint = [[NSString alloc] initWithString:[fileToConvert lastPathComponent]];
> >                         fingerprint = [[fingerprint stringByAppendingString:@":"] stringByAppendingString:output];
>
> >                         [fingerprint release];
>
> you are calling release on the object returned by [[fingerprint
> stringByAppendingString:@":"] stringByAppendingString:output] which
> probably will have been autoreleased, thus the crash. Use an
> NSMutableString instead.
>
> chris
>

 _______________________________________________
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

  • Prev by Date: Re: Need help tracking down memory issue
  • Next by Date: Re: Cocoa from C++ (dont want to mix it)
  • Previous by thread: SOLVED-Need help tracking down memory issue
  • Next by thread: NSNotificationCenter does the doc lie to us ??
  • Index(es):
    • Date
    • Thread