Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Strange malloc/free issue inside a category
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange malloc/free issue inside a category




On Jul 30, 2006, at 1:57 PM, Andy Lee wrote:


On Jul 30, 2006, at 1:38 PM, Ken Tozier wrote:

						dLen	= slen * sizeof(unichar);


Should this be 2 * slen * sizeof(unichar), since you'll need two hex characters to represent each byte?



Yep that's the problem.

Another "Doh!" moment brought to you by Homer Simpson.

Thanks

Ken

_______________________________________________
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


References: 
 >Strange malloc/free issue inside a category (From: Ken Tozier <email@hidden>)
 >Re: Strange malloc/free issue inside a category (From: Andy Lee <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.