Don't try to release the node if we haven't loaded one.
This commit is contained in:
parent
eabc93a1eb
commit
119da5a94c
|
@ -100,6 +100,7 @@ static ULONG WINAPI domdoc_Release(
|
|||
ref = InterlockedDecrement( &This->ref );
|
||||
if ( ref == 0 )
|
||||
{
|
||||
if ( This->node )
|
||||
IXMLDOMElement_Release( This->node );
|
||||
HeapFree( GetProcessHeap(), 0, This );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue