Re: One last little leak I just can't plug...
Re: One last little leak I just can't plug...
- Subject: Re: One last little leak I just can't plug...
- From: Jerry Krinock <email@hidden>
- Date: Sun, 11 Apr 2004 21:29:43 -0700
on 04/04/11 17:07, Jerry Krinock at email@hidden wrote:
Someone replied off the list and showed me how to read the leaked string
using gdb. This seems to create some more ambiguities, but I'm working on
it...
>
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.
_______________________________________________
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.