mshtml: Avoid crash in nsIURI:Equals if other_url is NULL.
This commit is contained in:
parent
361f9a30ba
commit
faf0b6bb2a
|
@ -1754,7 +1754,7 @@ static nsresult NSAPI nsURI_Equals(nsIWineURI *iface, nsIURI *other, PRBool *_re
|
||||||
}
|
}
|
||||||
|
|
||||||
nsIWineURI_GetWineURL(wine_uri, &other_url);
|
nsIWineURI_GetWineURL(wine_uri, &other_url);
|
||||||
*_retval = !UrlCompareW(This->wine_url, other_url, TRUE);
|
*_retval = other_url && !UrlCompareW(This->wine_url, other_url, TRUE);
|
||||||
nsIWineURI_Release(wine_uri);
|
nsIWineURI_Release(wine_uri);
|
||||||
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
|
Loading…
Reference in New Issue