Re: PATCH: Re: [xml] Segfault freeing doc after replaceNode() in python
- From: Daniel Veillard <veillard redhat com>
- To: Brent Hendricks <brentmh rice edu>
- Cc: xml gnome org
- Subject: Re: PATCH: Re: [xml] Segfault freeing doc after replaceNode() in python
- Date: Wed, 11 May 2005 14:08:02 -0400
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
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]