Commit d676f7e5 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msxml3: Fixed xmlnode_removeChild.

parent f9a18b8f
......@@ -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;
}
......
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