StrAllocCopy(&output, subject);
mime_SACopy(&output, subject);
static char *intlmime_decode_base64_buf(char *subject){  char *output = 0;  char *pSrc, *pDest ;  int i ;  StrAllocCopy(&output, subject); /* Assume converted text are always less than source text */  pSrc = subject;  pDest = output ;  for (i = PL_strlen(subject); i > 3; i -= 4)  {    if (intlmime_decode_base64(pSrc, pDest) == 0)    {      pSrc += 4;      pDest += 4;    }    else    {      pSrc += 4;      pDest += 3;    }  }  *pDest = '\0';  return output;}