strdup problem
strdup problem
- Subject: strdup problem
- From: Jerry <email@hidden>
- Date: Thu, 17 Feb 2005 10:03:17 +0000
Hi,
Some code we use uses strdup and whenever we free() a string returned
from strdup MallocDebug complains that the memory wasn't allocated with
malloc. Stepping into strdup in the debugger shows that it is calling
malloc. Any ideas? This a Mach-O Carbon application and the strdup
we're calling is definitely the one in libSystem.B.
Jerry
_______________________________________________
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