• 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: preventing bad memory access
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: preventing bad memory access


  • Subject: Re: preventing bad memory access
  • From: Scott Ribe <email@hidden>
  • Date: Tue, 18 Oct 2011 07:51:15 -0600

On Oct 17, 2011, at 10:26 PM, Wilker wrote:

>    NSData *fileData = [NSData dataWithContentsOfFile:path
> options:NSDataReadingMappedAlways | NSDataReadingUncached error:&error];

Do you retain fileData?

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

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

References: 
 >preventing bad memory access (From: Wilker <email@hidden>)

  • Prev by Date: Re: Blocks vs. life, the universe and everything
  • Next by Date: Re: Blocks vs. life, the universe and everything
  • Previous by thread: Re: preventing bad memory access
  • Next by thread: Re: preventing bad memory access
  • Index(es):
    • Date
    • Thread