• 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: [NSString stringWithContentsOfURL:...], threads, and 10.5.4, xcode 3.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: [NSString stringWithContentsOfURL:...], threads, and 10.5.4, xcode 3.1
      • From: "email@hidden" <email@hidden>
  • Prev by Date: Page flip effect using Core Animation?
  • Next by Date: Re: webDAV (lite) framework?
  • Previous by thread: Page flip effect using Core Animation?
  • Next by thread: Re: [NSString stringWithContentsOfURL:...], threads, and 10.5.4, xcode 3.1
  • Index(es):
    • Date
    • Thread