зеркало из https://github.com/mozilla/pjs.git
Fix atom leaks. b=206379 r=alecf sr=bryner
This commit is contained in:
Родитель
4734a19f6c
Коммит
5932f7a23f
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче