Re: [xml] Retrieving boolean/number/string value from XPath objects



On Mon, May 14, 2001 at 10:27:59PM +0200, Thomas Broyer wrote:

Le 14/05/01 21:19:53, Daniel Veillard a écrit :
  The code is nice, thanks a lot, recompiled, I found just one
small bit about xmlXPathCastNodeSetToBoolean() which is not static
but not exported either. It should probably be added to xpath.h

  The problem came when recompiling libxslt against it and running
the tests. I detected some memory leaks. I didn't found where exactly,
what I suspect is that there has been a small change in one of the
API (seems related to ID lookups) which generates this leak,

  I will try to find it and will commit this once found,

Found!

tokens isn't freed in the loop in xmlXPathIdFunction.

  Okay cleaned and commited ! I will look at your next patch now,

    thanks,

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
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]