Re: [xml] memory leak caused by xmlReader
- From: Daniel Veillard <veillard redhat com>
- To: "Mickautsch, Alfred" <alfred mickautsch schuler-ag com>
- Cc: xml gnome org
- Subject: Re: [xml] memory leak caused by xmlReader
- Date: Wed, 28 Apr 2004 15:18:27 -0400
On Wed, Apr 28, 2004 at 05:50:02PM +0200, Mickautsch, Alfred wrote:
Hello,
the xmlTextReaderFree* functions do not call the deregister function
(xmlDeregisterNodeDefaultValue). New nodes are created with calls to
xmlNewNode* functions in xmlSAX2StartDocument, xmlSAX2StartElementNs,
xmlSAX2Characters, etc. These call the corresponding register function.
This causes memory leaks in my application, which relies on the
fact that registered nodes will be deregistered.
Is this behaviour so because the xmlNewNode* calls will be removed or is
this a bug?
Sounds like a bug, could you bugzilla it. It can probably be reproduced
with xmllint --stream and --chkregister,
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]