Commit 6cfa9629 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Set frame interface to NULL after releasing it in…

mshtml: Set frame interface to NULL after releasing it in IOleInPlaceObjectWindowless::InPlaceDeactivate.
parent ce6819d9
......@@ -197,8 +197,10 @@ static HRESULT WINAPI OleInPlaceObjectWindowless_InPlaceDeactivate(IOleInPlaceOb
if(!This->doc_obj->in_place_active)
return S_OK;
if(This->doc_obj->frame)
if(This->doc_obj->frame) {
IOleInPlaceFrame_Release(This->doc_obj->frame);
This->doc_obj->frame = NULL;
}
if(This->doc_obj->hwnd) {
ShowWindow(This->doc_obj->hwnd, SW_HIDE);
......
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