mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-22 03:43:58 +00:00
check for null db folder info 107457 rs=sspitzer
This commit is contained in:
parent
d6f9783e92
commit
306455aad9
@ -1017,7 +1017,8 @@ NS_IMETHODIMP nsMsgDatabase::ForceClosed()
|
||||
AddRef();
|
||||
NotifyAnnouncerGoingAway();
|
||||
// make sure dbFolderInfo isn't holding onto mork stuff because mork db is going away
|
||||
m_dbFolderInfo->ReleaseExternalReferences();
|
||||
if (m_dbFolderInfo)
|
||||
m_dbFolderInfo->ReleaseExternalReferences();
|
||||
NS_IF_RELEASE(m_dbFolderInfo);
|
||||
|
||||
err = CloseMDB(PR_FALSE); // since we're about to delete it, no need to commit.
|
||||
|
Loading…
x
Reference in New Issue
Block a user