Commit fdb7286a authored by Bernhard Übelacker's avatar Bernhard Übelacker Committed by Alexandre Julliard

mshtml: Check parameter load_group before calling RemoveRequest.

parent 2a71712b
......@@ -1310,10 +1310,12 @@ static nsresult NSAPI nsAsyncVerifyRedirectCallback_AsyncOnChannelRedirect(nsIAs
}
if(old_nschannel) {
if(old_nschannel->load_group) {
nsres = nsILoadGroup_RemoveRequest(old_nschannel->load_group,
(nsIRequest*)&old_nschannel->nsIHttpChannel_iface, NULL, NS_OK);
if(NS_FAILED(nsres))
ERR("RemoveRequest failed: %08x\n", nsres);
}
nsIHttpChannel_Release(&old_nschannel->nsIHttpChannel_iface);
}
......
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