Re: Need help tracking down memory issue
Re: Need help tracking down memory issue
- Subject: Re: Need help tracking down memory issue
- From: Christian Schneider <email@hidden>
- Date: Thu, 10 Mar 2005 12:27:03 +0100
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