Re: [libxml-devel] [patch] calling xmlFreeProp() for attributes

2007-05-26 Thread Tom Hughes
In message <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Jon Burgess) wrote: > I noticed that the current code calls xmlFreeNode on attributes which > looks wrong, surely this should be xmlFreeProp? I thought it looked odd too, but I think it is more complicated than that as the attribute will

[libxml-devel] [patch] calling xmlFreeProp() for attributes

2007-05-24 Thread Jon Burgess
I noticed that the current code calls xmlFreeNode on attributes which looks wrong, surely this should be xmlFreeProp? Jon --- ext/xml/ruby_xml_attr.c~ 2007-05-25 00:13:43.0 +0100 +++ ext/xml/ruby_xml_attr.c 2007-05-25 00:13:56.0 +0100 @@ -14,7 +14,7 @@ rxa->attr->do