RE: [xml] namespace list leak in xmlXPathTryStreamCompile
- From: "Buchcik, Kasimier" <k buchcik 4commerce de>
- To: "Rob Richards" <rrichards ctindustries net>
- Cc: xml gnome org
- Subject: RE: [xml] namespace list leak in xmlXPathTryStreamCompile
- Date: Tue, 16 May 2006 17:16:49 +0200
Hi Rob,
-----Original Message-----
From: xml-bounces gnome org [mailto:xml-bounces gnome org] On
Behalf Of Rob Richards
I am seeing a memory leak within xmlXPathTryStreamCompile.
The namespace
list is malloc'd, but never freed.
Not sure if there is any impact on libxslt (doubt it), but I see
Kasimier has been fixing a bunch of things there, so sending
a patch for
this.
Right, this will be leaking if a list of namespaces is
given at compilation time.
Libxslt is not affected:
http://mail.gnome.org/archives/xslt/2006-April/msg00042.html
Applied and committed in CVS with a few additional enhancements:
xpath.c, revision 1.303
pattern.c, revision 1.39
Thanks!
Regards,
Kasimier
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]