bug 502724 - crash [@ nsMsgLocalMailFolder::GetNewMessages(nsIMsgWindow*, nsIUrlListener*)], r=bienvenu
authorKent James <kent@caspia.com>
Tue, 26 Jul 2011 11:47:37 -0700
changeset 8189 fcd97e93cea62ea2d8c16ed91ebff3418dced77b
parent 8188 7dbc9c5c2b4159a25da8f92eca10a5409168ed71
child 8190 fb61d037609aabaf33f96ef48fd79fc4c1a2fb44
push id6296
push userkent@caspia.com
push dateTue, 26 Jul 2011 18:48:47 +0000
treeherdercomm-central@fcd97e93cea6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbienvenu
bugs502724
bug 502724 - crash [@ nsMsgLocalMailFolder::GetNewMessages(nsIMsgWindow*, nsIUrlListener*)], r=bienvenu
mailnews/local/src/nsLocalMailFolder.cpp
--- a/mailnews/local/src/nsLocalMailFolder.cpp
+++ b/mailnews/local/src/nsLocalMailFolder.cpp
@@ -576,17 +576,17 @@ NS_IMETHODIMP nsMsgLocalMailFolder::GetD
       if (transferInfo && mDatabase)
       {
         SetDBTransferInfo(transferInfo);
         mDatabase->SetSummaryValid(PR_FALSE);
       }
     }
     else if (folderOpen == NS_MSG_ERROR_FOLDER_SUMMARY_MISSING)
     {
-      msgDBService->CreateNewDB(this, getter_AddRefs(mDatabase));
+      rv = msgDBService->CreateNewDB(this, getter_AddRefs(mDatabase));
     }
 
     if (mDatabase)
     {
       if (mAddListener)
         mDatabase->AddListener(this);
 
       // if we have to regenerate the folder, run the parser url.