Fixing bug 112737. Making sure the From field of the compose of window reflects the selected account rather than a default account in cases of forward inline, draft/template, edit message. Identity object is released at appropriate time. r=ducarroz, sr=bienvenu

This commit is contained in:
racham%netscape.com 2002-01-08 01:28:18 +00:00
Родитель fa2aa5e125
Коммит f0d95f87cd
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1531,6 +1531,7 @@ mime_parse_stream_complete (nsMIMESession *stream)
if ( (obj) && (obj->options) && (obj->options->prefs) )
nsServiceManager::ReleaseService(kPrefCID, obj->options->prefs);
mdd->identity = nsnull;
PR_Free (mdd);
PR_FREEIF(host);
@ -1928,7 +1929,6 @@ mime_decompose_file_close_fn ( void *stream_closure )
mdd->tmpFileStream->close();
delete mdd->tmpFileStream;
delete mdd->tmpFileSpec;
mdd->identity = nsnull;
mdd->tmpFileSpec = nsnull;
return 0;