mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
wrap the derefernce with a check for null
This commit is contained in:
parent
9595eff3ea
commit
58461b8fc0
@ -69,7 +69,9 @@ nsMsgBiffManager::nsMsgBiffManager()
|
||||
|
||||
nsMsgBiffManager::~nsMsgBiffManager()
|
||||
{
|
||||
mBiffTimer->Cancel();
|
||||
if (mBiffTimer) {
|
||||
mBiffTimer->Cancel();
|
||||
}
|
||||
NS_IF_RELEASE(mBiffTimer);
|
||||
|
||||
PRInt32 count = mBiffArray->Count();
|
||||
|
Loading…
Reference in New Issue
Block a user