msd->url_name = PL_strdup(urlString);
msd->url_name = nsCRT::strdup(urlString);
bridge_new_new_uri(void *bridgeStream, nsIURI *aURI){  nsMIMESession *session = (nsMIMESession *)bridgeStream;  if (session)  {    struct mime_stream_data *msd = (struct mime_stream_data *)session->data_object;    if (msd)    {      char *urlString;      if (NS_SUCCEEDED(aURI->GetSpec(&urlString)))      {        if ((urlString) && (*urlString))        {          PR_FREEIF(msd->url_name);          msd->url_name = PL_strdup(urlString);          if (!(msd->url_name))            return NS_ERROR_OUT_OF_MEMORY;          PR_FREEIF(urlString);        }      }    }  }  return NS_OK;}