if (data->file_stream) { PR_Close(data->file_stream); data->file_stream = 0;
if (data->input_file_stream) { data->input_file_stream->close(); delete data->input_file_stream; data->input_file_stream = nsnull; }  if (data->output_file_stream) { data->output_file_stream->close(); delete data->output_file_stream; data->output_file_stream = nsnull;
MimePartBufferClose (MimePartBufferData *data){  NS_ASSERTION(data, "MimePartBufferClose: no data");  if (!data) return;  if (data->file_stream)	{	  PR_Close(data->file_stream);	  data->file_stream = 0;	}}