fix crash undoing imap delete r=cavin, sr=sspitzer, 177835
git-svn-id: svn://10.0.0.236/trunk@133430 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
aac40e7aa5
commit
f05f25584d
@ -275,7 +275,7 @@ NS_IMETHODIMP nsMailDatabase::EndBatch()
|
||||
NS_IMETHODIMP nsMailDatabase::DeleteMessages(nsMsgKeyArray* nsMsgKeys, nsIDBChangeListener *instigator)
|
||||
{
|
||||
nsresult ret = NS_OK;
|
||||
if (!m_folderStream)
|
||||
if (!m_folderStream && m_folder)
|
||||
{
|
||||
PRBool isLocked;
|
||||
m_folder->GetLocked(&isLocked);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user