mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 829858 - Null dereference in nsHttpChannel::InitOfflineCacheEntry(), r=bsmith
This commit is contained in:
parent
0e5f224b75
commit
077f80d348
@ -3610,13 +3610,13 @@ nsHttpChannel::InitOfflineCacheEntry()
|
||||
}
|
||||
|
||||
if (!mResponseHead || mResponseHead->NoStore()) {
|
||||
if (mResponseHead->NoStore()) {
|
||||
if (mResponseHead && mResponseHead->NoStore()) {
|
||||
mOfflineCacheEntry->AsyncDoom(nullptr);
|
||||
}
|
||||
|
||||
CloseOfflineCacheEntry();
|
||||
|
||||
if (mResponseHead->NoStore()) {
|
||||
if (mResponseHead && mResponseHead->NoStore()) {
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user