mshtml: Keep moniker reference after start_binding call.

This commit is contained in:
Jacek Caban 2013-09-19 16:12:42 +02:00 committed by Alexandre Julliard
parent 7f47beb7d8
commit 4db1b00815
1 changed files with 5 additions and 3 deletions

View File

@ -360,6 +360,11 @@ static HRESULT WINAPI BindStatusCallback_OnStopBinding(IBindStatusCallback *ifac
This->binding = NULL;
}
if(This->mon) {
IMoniker_Release(This->mon);
This->mon = NULL;
}
list_remove(&This->entry);
list_init(&This->entry);
This->window = NULL;
@ -823,9 +828,6 @@ HRESULT start_binding(HTMLInnerWindow *inner_window, BSCallback *bscallback, IBi
if(str)
IStream_Release(str);
IMoniker_Release(bscallback->mon);
bscallback->mon = NULL;
return S_OK;
}