msxml3: Fix node interface leak after nextNode().
This commit is contained in:
parent
60dd1c6a6e
commit
f139a88fd5
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue