Commit 0f9ba2b7 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

shdocvw: Cope with being called without an active document.

parent 2b2c5f35
......@@ -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;
......
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