bug 129183: Crash opening the address book after editing the history.mab file -TBTrunk [@ nsAddrDatabase::UpdateLowercaseEmailListName ]
patch by Bastiaan Jacques <baafie@planet.nl>, r=bienvenu, sr=mscott git-svn-id: svn://10.0.0.236/trunk@170381 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
7c5d4e07a3
commit
5f8e844dd7
@ -1088,7 +1088,7 @@ nsresult nsAddrDatabase::InitExistingDB()
|
||||
if (err == NS_OK)
|
||||
{
|
||||
err = GetStore()->GetTable(GetEnv(), &gAddressBookTableOID, &m_mdbPabTable);
|
||||
if (NS_SUCCEEDED(err))
|
||||
if (NS_SUCCEEDED(err) && m_mdbPabTable)
|
||||
{
|
||||
err = GetLastRecordKey();
|
||||
if (err == NS_ERROR_NOT_AVAILABLE)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user