mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 598790 - nullcheck canceled channel in prefetchnode::onstoprequest r=bz
This commit is contained in:
parent
b21ca1bd3b
commit
2070015cd2
@ -217,7 +217,7 @@ nsPrefetchNode::OnStopRequest(nsIRequest *aRequest,
|
||||
{
|
||||
LOG(("done prefetching [status=%x]\n", aStatus));
|
||||
|
||||
if (mBytesRead == 0 && aStatus == NS_OK) {
|
||||
if (mBytesRead == 0 && aStatus == NS_OK && mChannel) {
|
||||
// we didn't need to read (because LOAD_ONLY_IF_MODIFIED was
|
||||
// specified), but the object should report loadedSize as if it
|
||||
// did.
|
||||
|
Loading…
Reference in New Issue
Block a user