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

This commit is contained in:
Jacek Caban 2014-10-29 18:00:49 +01:00 committed by Alexandre Julliard
parent a235e86316
commit 0506a52266
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}