return nsCRT::strdup(resultString); else return tempString;
tempString = nsCRT::strdup(resultString);  return tempString;
MimeGetStringByID(PRInt32 stringID){  char          *tempString = nsnull;	char          *resultString = "???";	nsresult      res = NS_OK;	if (!stringBundle)	{		char*       propertyURL = NULL;		propertyURL = MIME_URL;		nsCOMPtr<nsIStringBundleService> sBundleService = 		         do_GetService(kStringBundleServiceCID, &res); 		if (NS_SUCCEEDED(res) && (nsnull != sBundleService)) 		{			res = sBundleService->CreateBundle(propertyURL, getter_AddRefs(stringBundle));		}	}	if (stringBundle)	{		PRUnichar *ptrv = nsnull;		res = stringBundle->GetStringFromID(stringID, &ptrv);		if (NS_FAILED(res))       return nsCRT::strdup(resultString);		else    {      nsAutoString v;      v = ptrv;			tempString = v.ToNewUTF8String();    }	}  if (!tempString)    return nsCRT::strdup(resultString);  else    return tempString;}