Bugs item #19258, was opened at 2008-04-02 00:32 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=19258&group_id=494
Category: None Group: None >Status: Closed Resolution: None Priority: 3 Submitted By: Joe Khoobyar (walltndr) >Assigned to: Charlie Savage (cfis) Summary: Attribute nodes can be freed() twice. Initial Comment: If an attribute node is already wrapped, and then is removed from the parent (i.e., by setting it to nil via the []= method), it will eventually get freed twice. This is because xmlRemoveProp() always frees the node memory. In these cases xmlUnlinkNode() must be called instead. See patch 19256 for details, and the addition of a remove! method to XML::Attr ---------------------------------------------------------------------- >Comment By: Charlie Savage (cfis) Date: 2008-07-01 02:45 Message: Patch applied - thanks Joe. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=19258&group_id=494 _______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel