Commit cfb67712 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Check if BSC is still attached to window before using it in OnRedirectVerifyCallback.

parent a4824803
......@@ -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) {
......
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