mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Check the proper pointer. r+sr=biesi. No bug
This commit is contained in:
parent
24e0e3c1a9
commit
a9ea0aa1b3
@ -1486,7 +1486,7 @@ nsExternalHelperAppService::GetProtocolHandlerInfo(const nsACString &aScheme,
|
||||
// applications which we might need later. For now, just use nsMIMEInfoImpl
|
||||
// instead of implementating a separate nsIHandlerInfo object.
|
||||
*aHandlerInfo = GetProtocolInfoFromOS(aScheme).get();
|
||||
if (!aHandlerInfo) {
|
||||
if (!(*aHandlerInfo)) {
|
||||
// Either it knows nothing, or we ran out of memory
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user