msxml3: Fix XPath query result leak (Valgrind).
This commit is contained in:
parent
f9df884536
commit
98a9fbe79f
|
@ -1058,8 +1058,6 @@ HRESULT cache_from_doc_ns(IXMLDOMSchemaCollection2 *iface, xmlnode *node)
|
|||
{
|
||||
int pos = 0, len = xmlXPathNodeSetGetLength(nodeset->nodesetval);
|
||||
|
||||
if (len == 0) return S_OK;
|
||||
|
||||
while (pos < len)
|
||||
{
|
||||
xmlNodePtr node = xmlXPathNodeSetItem(nodeset->nodesetval, pos);
|
||||
|
|
Loading…
Reference in New Issue