mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 813947 - Ensure pointer argument validity. r=bsmedberg
This commit is contained in:
parent
fb3ce1f70b
commit
f339646e27
@ -193,6 +193,10 @@ nsresult nsDocumentOpenInfo::Prepare()
|
||||
NS_IMETHODIMP nsDocumentOpenInfo::OnStartRequest(nsIRequest *request, nsISupports * aCtxt)
|
||||
{
|
||||
LOG(("[0x%p] nsDocumentOpenInfo::OnStartRequest", this));
|
||||
MOZ_ASSERT(request);
|
||||
if (!request) {
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
|
||||
nsresult rv = NS_OK;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user