mshtml: Check if BSC is still attached to window before using it in OnRedirectVerifyCallback.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a4824803da
commit
cfb67712ce
|
@ -1231,7 +1231,7 @@ static nsresult NSAPI nsAsyncVerifyRedirectCallback_OnRedirectVerifyCallback(nsI
|
|||
ERR("AddRequest failed: %08x\n", nsres);
|
||||
}
|
||||
|
||||
if(This->bsc->is_doc_channel) {
|
||||
if(This->bsc->is_doc_channel && This->bsc->bsc.window && This->bsc->bsc.window->base.outer_window) {
|
||||
IUri *uri = nsuri_get_uri(This->nschannel->uri);
|
||||
|
||||
if(uri) {
|
||||
|
|
Loading…
Reference in New Issue