msxml3: oldChild in xmlnode_removeChild may be NULL

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Thu Jul 10 15:39:34 CDT 2008


Piotr Caban wrote:
> ---
>  IXMLDOMNode_Release(child);
>  IXMLDOMNode_AddRef(childNode);
>- *oldChild = childNode;
>+
>+ if(oldChild)
>+ *oldChild = childNode;
>return S_OK; 
> 
Hi Piotr,
   Your leaking childNode, it should be destroyed in this case.

Best Regards
  Alistair Leslie-Hughes




More information about the wine-devel mailing list