In message <00b001c15166$a3b88ee0$7f03ef12@MLAMBERT>
Michel Lambert <mlambert@legendent.com> wrote:
> Am I missing something here, or does this code not properly free transcoded
> s1's and s2's after it's done comparing them?
You're quite right that it doesn't, but neither does anything else
that creates temporary strings in a different encoding ;-)
As we're using garbage collection we shouldn't need to do an explicit
free though surely - in fact I'm not quite sure why string_destroy
even exists...
It's easy enough to add some frees if they are needed though.
Tom
--
Tom Hughes (tom@compton.nu)
http://www.compton.nu
Thread Previous
|
Thread Next