Commit 0506a522 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

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

parent a235e863
......@@ -801,7 +801,7 @@ HRESULT start_binding(HTMLInnerWindow *inner_window, BSCallback *bscallback, IBi
}
if(FAILED(hres)) {
bscallback->vtbl->stop_binding(bscallback, hres);
bscallback->window = NULL;
return hres;
}
......@@ -809,7 +809,7 @@ HRESULT start_binding(HTMLInnerWindow *inner_window, BSCallback *bscallback, IBi
IBindCtx_Release(bctx);
if(FAILED(hres)) {
WARN("BindToStorage failed: %08x\n", hres);
bscallback->vtbl->stop_binding(bscallback, hres);
bscallback->window = NULL;
return hres;
}
......
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