Re: [libxml-devel] valgrind detects problem when setting attribute to nil

2007-05-26 Thread Jon Burgess
On Sat, 2007-05-26 at 10:52 +0100, Tom Hughes wrote: > In message <[EMAIL PROTECTED]> > [EMAIL PROTECTED] (Jon Burgess) wrote: > > > When the attached code is run under valgrind I get the following error. > > > > ==13906== Invalid read of size 8 > > ==13906==at 0x6B4E13C: ruby_xml_a

Re: [libxml-devel] valgrind detects problem when setting attribute to nil

2007-05-26 Thread Tom Hughes
In message <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Jon Burgess) wrote: > When the attached code is run under valgrind I get the following error. > > ==13906== Invalid read of size 8 > ==13906==at 0x6B4E13C: ruby_xml_attr_free (ruby_xml_attr.c:12) > ==13906==by 0x3C2524A9CD: rb_gc

[libxml-devel] valgrind detects problem when setting attribute to nil

2007-05-24 Thread Jon Burgess
When the attached code is run under valgrind I get the following error. ==13906== Invalid read of size 8 ==13906==at 0x6B4E13C: ruby_xml_attr_free (ruby_xml_attr.c:12) ==13906==by 0x3C2524A9CD: rb_gc_call_finalizer_at_exit (gc.c:1928) ==13906==by 0x3C2522FA92: ruby_finalize_1 (eval.c: