msxml3: Fixed xmlnode_removeChild.
This commit is contained in:
parent
f9a18b8fd7
commit
d676f7e5bb
|
@ -651,10 +651,13 @@ static HRESULT WINAPI xmlnode_removeChild(
|
|||
xmlUnlinkNode(child_node_ptr);
|
||||
|
||||
IXMLDOMNode_Release(child);
|
||||
IXMLDOMNode_AddRef(childNode);
|
||||
|
||||
if(oldChild)
|
||||
{
|
||||
IXMLDOMNode_AddRef(childNode);
|
||||
*oldChild = childNode;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue