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
git-svn-id: svn://10.0.0.236/trunk@111527 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user