msxml3: Fixed xmlnode_removeChild.

This commit is contained in:
Piotr Caban 2008-07-11 00:36:12 +02:00 committed by Alexandre Julliard
parent f9a18b8fd7
commit d676f7e5bb
1 changed files with 4 additions and 1 deletions

View File

@ -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;
}