Bug 90065 - nsAppShellService::GetNativeAppSupport returns NS_OK even when it fails, causing crash. r=valeski/sr=blake

git-svn-id: svn://10.0.0.236/trunk@99127 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ccarlen%netscape.com
2001-07-12 14:44:27 +00:00
parent 38a857ba4c
commit c7d1ec2eb4

View File

@@ -933,5 +933,5 @@ nsAppShellService::GetNativeAppSupport( nsINativeAppSupport **aResult ) {
NS_ENSURE_ARG( aResult );
*aResult = mNativeAppSupport;
NS_IF_ADDREF( *aResult );
return NS_OK;
return *aResult ? NS_OK : NS_ERROR_NULL_POINTER;
}