shdocvw: Cope with being called without an active document.
This commit is contained in:
parent
2b2c5f35ac
commit
0f9ba2b71c
|
@ -326,6 +326,8 @@ void deactivate_document(DocHost *This)
|
|||
IHlinkTarget *hlink = NULL;
|
||||
HRESULT hres;
|
||||
|
||||
if(!This->document) return;
|
||||
|
||||
if(This->doc_navigate) {
|
||||
IUnknown_Release(This->doc_navigate);
|
||||
This->doc_navigate = NULL;
|
||||
|
|
Loading…
Reference in New Issue