Re: PATCH: Re: [xml] Segfault freeing doc after replaceNode() in python

On Wed, May 11, 2005 at 12:01:47PM -0500, Brent Hendricks wrote:
I think I have a fix for this now:

xmlReplaceNode() was setting cur->doc directly.  If instead I change 
that to call xmlSetTreeDoc() everything works fine.

  makes perfect sense, even if incomplete (dictionnaries would also
require a fixup) but it's a good first step. Applied and commited,

  thanks !


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]