Re: Segfault with createElement/ownerDocument
Paolo Casarini <[email protected]> Wed, 18 Sep 2002 09:36:04 +0200 (CEST)
| Newsgroups | gmane.comp.gnome.gdome |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 17 Sep 2002, T.J. Mather wrote: > Christopher Gutteridge pointed out to me a problem with XML::GDOME which > also occurs with the C library. If you call createElement on a doc, > free the doc, free the result of calling ownerDocument on the created > element, then a segfault occurs. I think this happens because > createElement doesn't increase the livenodes on the document tree, so the > document gets freed before ownerDocument is called. I'fix it soon. Thanx, paolo.