Commit 4db1b008 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Keep moniker reference after start_binding call.

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