• 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
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


  • Subject: Re: Strange malloc/free issue inside a category
  • From: Ken Tozier <email@hidden>
  • Date: Sun, 30 Jul 2006 14:09:53 -0400


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>)

  • Prev by Date: Re: Strange malloc/free issue inside a category
  • Next by Date: Re: Strange malloc/free issue inside a category
  • Previous by thread: Re: Strange malloc/free issue inside a category
  • Next by thread: Re: Strange malloc/free issue inside a category
  • Index(es):
    • Date
    • Thread