Fix for failure case.
git-svn-id: svn://10.0.0.236/trunk@44810 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
bba1d06f0f
commit
e171f1b2f2
@ -249,6 +249,8 @@ nsMIMEService::GetTypeFromURI(nsIURI *aURI, char **aContentType) {
|
||||
rv = GetTypeFromExtension(ext, aContentType);
|
||||
nsAllocator::Free(ext);
|
||||
}
|
||||
else
|
||||
return NS_ERROR_FAILURE;
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user