mid->url = (char *) PL_strdup(image_url);
mid->url = (char *) nsCRT::strdup(image_url);
mime_image_begin(const char *image_url, const char *content_type,                 void *stream_closure){  struct mime_stream_data *msd = (struct mime_stream_data *) stream_closure;  struct mime_image_stream_data *mid;  mid = PR_NEW(struct mime_image_stream_data);  if (!mid) return 0;  memset(mid, 0, sizeof(*mid));  mid->msd = msd;  mid->url = (char *) PL_strdup(image_url);  if (!mid->url)  {    PR_Free(mid);    return 0;  }  mid->istream = (nsMIMESession *) msd->pluginObj2;  return mid;}