nsAllocator::Free(lc_name_unichar);
nsStringBundle::GetLangCountry(nsILocale* aLocale, nsString2& lang, nsString2& country){  if (!aLocale) {    return NS_ERROR_FAILURE;  }  PRUnichar *lc_name_unichar;  nsString	  lc_name;  nsString  	catagory("NSILOCALE_MESSAGES");  nsresult	  result	 = aLocale->GetCategory(catagory.GetUnicode(), &lc_name_unichar);  lc_name.SetString(lc_name_unichar);  NS_ASSERTION(NS_SUCCEEDED(result),"nsStringBundle::GetLangCountry: locale.GetCatagory failed");  NS_ASSERTION(lc_name.Length()>0,"nsStringBundle::GetLangCountry: locale.GetCatagory failed");  PRInt32   dash = lc_name.FindCharInSet("-");  if (dash > 0) {    /*      */    PRInt32 count = 0;    count = lc_name.Left(lang, dash);    count = lc_name.Right(country, (lc_name.Length()-dash-1));  }  else    lang = lc_name;  return NS_OK;}