Commit f139a88f authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msxml3: Fix node interface leak after nextNode().

parent 60dd1c6a
......@@ -513,7 +513,11 @@ static HRESULT WINAPI enumvariant_Next(
/* we need to advance one step more for some reason */
if (ret_count)
{
node = NULL;
IXMLDOMSelection_nextNode(This->selection, &node);
if (node) IXMLDOMNode_Release(node);
}
return celt == 0 ? S_OK : S_FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment