• 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
-[NSBundle pathForResource:ofType:inDireoctory:] leaks?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-[NSBundle pathForResource:ofType:inDireoctory:] leaks?


  • Subject: -[NSBundle pathForResource:ofType:inDireoctory:] leaks?
  • From: Eric Slosser <email@hidden>
  • Date: Fri, 10 Mar 2006 12:58:54 -0500

The 'leaks' tool is telling me that the return value from -[NSBundle pathForResource:ofType:inDireoctory:] is leaked.  I didn't think I need to release that value.  Attempting to release (or autorelease) leads to a quick trip to EXC_BAD_ACCESS in NSPopAutoreleasePool.

So leaks is wrong?  Or is there something I'm not doing right?

I've got MallocStackLogging and MallocStackLoggingNoCompact defined.
 _______________________________________________
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: IBoutlets out of scope in c functions?
  • Next by Date: Re: Processing Unselect in NSOutlineView
  • Previous by thread: Re: mouseDown
  • Next by thread: crash report interpretation
  • Index(es):
    • Date
    • Thread