Re: Memory problem freeing strdup strings
Re: Memory problem freeing strdup strings
- Subject: Re: Memory problem freeing strdup strings
- From: Allen Cronce <email@hidden>
- Date: Fri, 02 Mar 2007 09:50:39 -0800
Thanks for the response Eric.
Eric Albert wrote:
> It looks like you're linking against libMallocDebug.a. Don't do
> that. (We shouldn't even ship the .a.) Instead, just launch your
> application with the MallocDebug application. That'll work properly
> with strdup and other functions inside Libc which call malloc.
Yes, this happened with the -lMallocDebug "other linker" flag. The
thinking was that it would be good to have this on at the project level
for some of our debug targets.
Maybe you can use my radar bug as a reminder to remove or fix
libMallocDebug.a.
Best,
--
Allen Cronce
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden