string = (char *)PR_MALLOC(PL_strlen((char *) vObjectAnyValue(prop)) + 1);
string = (char *)PR_MALLOC(nsCRT::strlen((char *) vObjectAnyValue(prop)) + 1);
static int OutputVcardAttribute(MimeObject *obj, VObject *v, const char* id) {	int status = 0;	VObject *prop = NULL;	char *string = NULL;	prop = isAPropertyOf(v, id);	if (prop)		if (VALUE_TYPE(prop))		{			if (VALUE_TYPE(prop) != VCVT_RAW)				string = fakeCString (vObjectUStringZValue(prop));			else			{				string = (char *)PR_MALLOC(PL_strlen((char *) vObjectAnyValue(prop)) + 1);				if (string)					PL_strcpy(string, (char *) vObjectAnyValue(prop));			}			if (string) {				status = OutputFont(obj, PR_FALSE, "-1", NULL);				if (status < 0) {					PR_FREEIF (string);					return status;				}				status = WriteLineToStream (obj, string);				PR_FREEIF (string);				if (status < 0) return status;				status = OutputFont(obj, PR_TRUE, NULL, NULL);				if (status < 0) return status;			}		}	return 0;}