• 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
One last little leak I just can't plug...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

One last little leak I just can't plug...


  • Subject: One last little leak I just can't plug...
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 11 Apr 2004 17:07:44 -0700

Over the past few weeks, thanks to the help I've got from many of you, I
have cleaned up all the memory leaks in my application, except one.
(Although I vehemently disagree that this achievement was easy or obvious).

But anyhow, as soon as my app launches, MallocDebug says I have this leak of
"12 bytes in 1 node". (The command-line tool "leaks" reports it as 16 bytes
instead).

I'd much appreciate if someone could give me clue from the following "stack
trace" of the leak, I believe it's called, from MallocDebug. Here it is:

0x1
start
_start
main
NSApplicationMain
+[NSBundle mainBundle]
+[NSUserDefaults standardUserDefaults]
-[NSUserDefaults initWithUser:]
_constructLanguageList
_CFPReferencesStadardDomain
_CFPreferencesStandardDomainCacheKey
_CFPreferencesCacePrefixForUserHost
_CFUserName
_CFUpdateUserInfo
_CFStringCreateWithCString
_CFStringCreateImmutableFunnel3
_CFRuntimeCreateInstance
NXZoneMalloc

Thanks,

Jerry Krinock
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: One last little leak I just can't plug...
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: Any good debugger tutorials?
  • Next by Date: Re: Debugging problem
  • Previous by thread: Re: Any good debugger tutorials?
  • Next by thread: Re: One last little leak I just can't plug...
  • Index(es):
    • Date
    • Thread