In message <00b001c15166$a3b88ee0$7f03ef12@MLAMBERT>
        Michel Lambert <[EMAIL PROTECTED]> 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 ([EMAIL PROTECTED])
http://www.compton.nu

Reply via email to