fix a memory leak from my previous checkin

This commit is contained in:
scott%scott-macgregor.org 2004-07-11 00:28:18 +00:00
parent 541f1ba0ae
commit a667360bb7
4 changed files with 4 additions and 4 deletions

View File

@ -1088,7 +1088,7 @@ nsMsgIncomingServer::GetLocalStoreType(char **aResult)
NS_IMETHODIMP
nsMsgIncomingServer::GetAccountManagerChrome(nsAString& aResult)
{
aResult = ToNewUnicode(NS_LITERAL_STRING("am-main.xul"));
aResult.AssignLiteral("am-main.xul");
return NS_OK;
}

View File

@ -194,6 +194,6 @@ nsMovemailIncomingServer::GetCanSearchMessages(PRBool *canSearchMessages)
NS_IMETHODIMP
nsMovemailIncomingServer::GetAccountManagerChrome(nsAString& aResult)
{
aResult = ToNewUnicode(NS_LITERAL_STRING("am-serverwithnoidentities.xul"));
aResult.AssignLiteral("am-serverwithnoidentities.xul");
return NS_OK;
}

View File

@ -80,7 +80,7 @@ nsNoIncomingServer::GetLocalStoreType(char **type)
NS_IMETHODIMP
nsNoIncomingServer::GetAccountManagerChrome(nsAString& aResult)
{
aResult = ToNewUnicode(NS_LITERAL_STRING("am-serverwithnoidentities.xul"));
aResult.AssignLiteral("am-serverwithnoidentities.xul");
return NS_OK;
}

View File

@ -169,7 +169,7 @@ NS_IMETHODIMP nsRssIncomingServer::GetLocalStoreType(char **type)
NS_IMETHODIMP nsRssIncomingServer::GetAccountManagerChrome(nsAString& aResult)
{
aResult = ToNewUnicode(NS_LITERAL_STRING("am-newsblog.xul"));
aResult.AssignLiteral("am-newsblog.xul");
return NS_OK;
}