msxml3: Fix XPath query result leak (Valgrind).

This commit is contained in:
Nikolay Sivov 2014-04-26 00:36:41 +04:00 committed by Alexandre Julliard
parent f9df884536
commit 98a9fbe79f
1 changed files with 0 additions and 2 deletions

View File

@ -1058,8 +1058,6 @@ HRESULT cache_from_doc_ns(IXMLDOMSchemaCollection2 *iface, xmlnode *node)
{ {
int pos = 0, len = xmlXPathNodeSetGetLength(nodeset->nodesetval); int pos = 0, len = xmlXPathNodeSetGetLength(nodeset->nodesetval);
if (len == 0) return S_OK;
while (pos < len) while (pos < len)
{ {
xmlNodePtr node = xmlXPathNodeSetItem(nodeset->nodesetval, pos); xmlNodePtr node = xmlXPathNodeSetItem(nodeset->nodesetval, pos);