зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
fa2aa5e125
Коммит
f0d95f87cd
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче