Re: [NSString stringWithContentsOfURL:...], threads, and 10.5.4, xcode 3.1
Re: [NSString stringWithContentsOfURL:...], threads, and 10.5.4, xcode 3.1
- Subject: Re: [NSString stringWithContentsOfURL:...], threads, and 10.5.4, xcode 3.1
- From: "Kyle Sluder" <email@hidden>
- Date: Tue, 22 Jul 2008 07:50:52 -0400
On Mon, Jul 21, 2008 at 5:02 PM, email@hidden <email@hidden> wrote:
> NSString* csvString = [NSString stringWithContentsOfURL: lookupURL
> encoding: NSUTF8StringEncoding error: &lookupError];
This line right here requires an autorelease pool. Have you created
one for your thread?
It's apparent that you have a memory management issue somewhere in
your code. Can you post more context?
--Kyle Sluder
_______________________________________________
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