Fix atom leaks. b=206379 r=alecf sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144307 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
329ff4dea8
commit
d25bbc4fcb
@ -461,9 +461,6 @@ nsCharsetConverterManager::GetCharsetLangGroupRaw(const char * aCharset,
|
||||
nsAutoString langGroup;
|
||||
res = GetBundleValue(mDataBundle, alias.get(), NS_LITERAL_STRING(".LangGroup"), langGroup);
|
||||
|
||||
nsCOMPtr<nsIAtom> langGroupAtom = NS_NewAtom(langGroup);
|
||||
|
||||
NS_ADDREF(*aResult = langGroupAtom);
|
||||
|
||||
*aResult = NS_NewAtom(langGroup);
|
||||
return res;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user