Commit 119da5a9 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

Don't try to release the node if we haven't loaded one.

parent eabc93a1
......@@ -100,7 +100,8 @@ static ULONG WINAPI domdoc_Release(
ref = InterlockedDecrement( &This->ref );
if ( ref == 0 )
{
IXMLDOMElement_Release( This->node );
if ( This->node )
IXMLDOMElement_Release( This->node );
HeapFree( GetProcessHeap(), 0, This );
}
......
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