Commit faf0b6bb authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Avoid crash in nsIURI:Equals if other_url is NULL.

parent 361f9a30
......@@ -1754,7 +1754,7 @@ static nsresult NSAPI nsURI_Equals(nsIWineURI *iface, nsIURI *other, PRBool *_re
}
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);
return NS_OK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment