Hi
I have been trying to figure out how to programmatically create a
Node with a namespace but without any luck.
I have tried this:
node = XML::Node.new('test')
node.namespace = 'http://example.org'
But that just results in a segfault.
I have tried creating XML::NS objects but there doesn't
xperience the
leak on various flavours of Linux with Ruby 1.8.5 and 1.8.6.
I'll keep investigating and start looking at the C code of libxml-ruby
next, but I thought I'd let someone know about it at this stage.
Thanks
Sean Geoghegan
smime.p7s
Description: S/MIME cryptographi
he same
problem and it prevents an attempt to deallocate NULL pointers.
I couldn't get Rubyforge to behave when creating the patch though so
I've just sending it to the list.
Thanks
Sean
memory_leak_patch.diff
Description: Binary data
On 05/06/2009, at 8:42 AM, Sean Geoghe