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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user