wrap the derefernce with a check for null

This commit is contained in:
sspitzer%netscape.com 1999-06-29 06:02:41 +00:00
parent 9595eff3ea
commit 58461b8fc0

View File

@ -69,7 +69,9 @@ nsMsgBiffManager::nsMsgBiffManager()
nsMsgBiffManager::~nsMsgBiffManager()
{
mBiffTimer->Cancel();
if (mBiffTimer) {
mBiffTimer->Cancel();
}
NS_IF_RELEASE(mBiffTimer);
PRInt32 count = mBiffArray->Count();