[libxml-devel] Memory leak with 0.9.6 and 0.9.7
Charlie Savage
cfis at savagexi.com
Wed Jan 7 19:33:37 EST 2009
>> Looks like the problem is in to_s on Node
>>
>> 10000.times do
>> node = XML::Node.new 'node'
>> node.to_s
>> end
>
>
> Anyway, will have to look and see if there is anything obvious in the
> part of the bindings.
And fixed in trunk. It was caused by the addition of encoding support
in the last couple of releases. The new code forgot to release the
internal libxml output buffer.
Thanks for the heads-up on this.
Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://rubyforge.org/pipermail/libxml-devel/attachments/20090107/449172e2/attachment.bin>
More information about the libxml-devel
mailing list