Hi,
I'm
using xmlXPathEvalExpression and I suspect there is a memory leak (according to
Bounds Checker). Here
is a sequence I use: xmlChar
pXPathExpr[] = "Blah"; xmlXPathObjectPtr
pXPathObj = xmlXPathEvalExpression(pXPathExpr, m_pXPathCtxt); //
Some error checking. xmlNodePtr
pEditBinData = *pXPathObj->nodesetval->nodeTab; xmlXPathFreeObject(pXPathObj); Thanks,
Ohad. |