mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1113323 - Make sure loadInfo exists before dereferencing the object (r=sicking)
This commit is contained in:
parent
27f8918c14
commit
89633e281f
@ -688,7 +688,7 @@ nsIOService::NewChannelFromURIWithProxyFlagsInternal(nsIURI* aURI,
|
||||
|
||||
// If we're sandboxed, make sure to clear any owner the channel
|
||||
// might already have.
|
||||
if (loadInfo->GetLoadingSandboxed()) {
|
||||
if (loadInfo && loadInfo->GetLoadingSandboxed()) {
|
||||
(*result)->SetOwner(nullptr);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user