if (relobj->file_stream) { PR_Close(relobj->file_stream); relobj->file_stream = NULL;
if (relobj->input_file_stream) { relobj->input_file_stream->close(); delete relobj->input_file_stream; relobj->input_file_stream = nsnull;
MimeMultipartRelated_finalize (MimeObject *obj){	MimeMultipartRelated* relobj = (MimeMultipartRelated*) obj;	PR_FREEIF(relobj->base_url);	PR_FREEIF(relobj->curtag);	if (relobj->hash) {    PL_HashTableEnumerateEntries(relobj->hash, mime_multipart_related_nukehash, NULL);    PL_HashTableDestroy(relobj->hash);		relobj->hash = NULL;	}	if (relobj->file_stream) {		PR_Close(relobj->file_stream);		relobj->file_stream = NULL;	}	if (relobj->file_buffer_name) {		PR_Delete(relobj->file_buffer_name);		PR_Free(relobj->file_buffer_name);		relobj->file_buffer_name = 0;	}	((MimeObjectClass*)&MIME_SUPERCLASS)->finalize(obj);}