Removing release on a service as this would be taken care by the

NS_WITH_SERVICE() macro. r=danm


git-svn-id: svn://10.0.0.236/trunk@52411 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dp%netscape.com
1999-11-01 21:16:24 +00:00
parent 2bc6161677
commit ff9db70a07

View File

@@ -658,11 +658,8 @@ nsresult nsNetSupportDialog::DoDialog( nsString& inXULURL )
#else
result = NS_NewURI(&dialogURL, inXULURL );
#endif // NECKO
if (!NS_SUCCEEDED (result) )
{
appShellService->Release();
if ( !NS_SUCCEEDED (result) )
return result;
}
result = appShellService->CreateTopLevelWindow(nsnull, dialogURL,
PR_TRUE, PR_TRUE,