bustage fix

git-svn-id: svn://10.0.0.236/trunk@157621 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%brianryner.com
2004-06-08 23:58:05 +00:00
parent 1df9753a77
commit ccbcbe9f3c

View File

@@ -110,10 +110,11 @@ nsLanguageAtomService::LookupLanguage(const nsAString &aLanguage,
}
}
}
lang = do_GetAtom(langGroupStr);
nsCOMPtr<nsIAtom> langGroup = do_GetAtom(langGroupStr);
// The hashtable will keep an owning reference to the atom
mLangs.Put(lowered, lang);
lang = langGroup;
}
if (aError)