RE: [xml] namespace list leak in xmlXPathTryStreamCompile

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 

Right, this will be leaking if a list of namespaces is
given at compilation time.

Libxslt is not affected:

Applied and committed in CVS with a few additional enhancements:

xpath.c, revision 1.303
pattern.c, revision 1.39




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