ptr->DeliverAsNewsExit(aUrl, aExitCode, ptr->mSendMailAlso); NS_RELEASE(ptr);
NewsDeliveryCallback(nsIURI *aUrl, nsresult aExitCode, void *tagData){  if (tagData)  {    nsMsgComposeAndSend *ptr = (nsMsgComposeAndSend *) tagData;        if (!ptr) return NS_ERROR_NULL_POINTER;	  if (NS_FAILED(aExitCode))	  {		  if (! NS_IS_MSG_ERROR(aExitCode))			  aExitCode = NS_ERROR_SEND_FAILED;      ptr->DeliverAsNewsExit(aUrl, aExitCode, ptr->mSendMailAlso);      NS_RELEASE(ptr);    }  }  return aExitCode;}