Skip to content
Snippets Groups Projects
Commit 0506a522 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard
Browse files

mshtml: Don't call stop_binding in error cases in start_binding.

parent a235e863
No related branches found
No related tags found
No related merge requests found
...@@ -801,7 +801,7 @@ HRESULT start_binding(HTMLInnerWindow *inner_window, BSCallback *bscallback, IBi ...@@ -801,7 +801,7 @@ HRESULT start_binding(HTMLInnerWindow *inner_window, BSCallback *bscallback, IBi
} }
if(FAILED(hres)) { if(FAILED(hres)) {
bscallback->vtbl->stop_binding(bscallback, hres); bscallback->window = NULL;
return hres; return hres;
} }
...@@ -809,7 +809,7 @@ HRESULT start_binding(HTMLInnerWindow *inner_window, BSCallback *bscallback, IBi ...@@ -809,7 +809,7 @@ HRESULT start_binding(HTMLInnerWindow *inner_window, BSCallback *bscallback, IBi
IBindCtx_Release(bctx); IBindCtx_Release(bctx);
if(FAILED(hres)) { if(FAILED(hres)) {
WARN("BindToStorage failed: %08x\n", hres); WARN("BindToStorage failed: %08x\n", hres);
bscallback->vtbl->stop_binding(bscallback, hres); bscallback->window = NULL;
return hres; return hres;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment