tempString = v.ToNewUTF8String();
PR_FREEIF(ptrv); tempString = v.ToNewUTF8String();
VCardGetStringByID(PRInt32 aMsgId){  char          *tempString = nsnull;	nsresult res = NS_OK;	if (!stringBundle)	{		char*       propertyURL = NULL;		propertyURL = VCARD_URL;		NS_WITH_SERVICE(nsIStringBundleService, sBundleService, kStringBundleServiceCID, &res); 		if (NS_SUCCEEDED(res) && (nsnull != sBundleService)) 		{			nsILocale   *locale = nsnull;			res = sBundleService->CreateBundle(propertyURL, locale, getter_AddRefs(stringBundle));		}	}	if (stringBundle)	{		PRUnichar *ptrv = nsnull;		res = stringBundle->GetStringFromID(aMsgId, &ptrv);		if (NS_FAILED(res))       return nsCRT::strdup("???");		else    {      nsAutoString v("");      v = ptrv;			tempString = v.ToNewUTF8String();    }	}  if (!tempString)    return nsCRT::strdup("???");  else    return tempString;}