NS_IF_RELEASE(kNC_AgeInDays);
nsGlobalHistory::~nsGlobalHistory(){  gRDFService->UnregisterDataSource(this);  nsresult rv;  rv = CloseDB();  if (--gRefCnt == 0) {    if (gRDFService) {      nsServiceManager::ReleaseService(kRDFServiceCID, gRDFService);      gRDFService = nsnull;    }    NS_IF_RELEASE(kNC_Page);    NS_IF_RELEASE(kNC_Date);    NS_IF_RELEASE(kNC_FirstVisitDate);    NS_IF_RELEASE(kNC_VisitCount);    NS_IF_RELEASE(kNC_AgeInDays);    NS_IF_RELEASE(kNC_Name);    NS_IF_RELEASE(kNC_NameSort);    NS_IF_RELEASE(kNC_Hostname);    NS_IF_RELEASE(kNC_Referrer);    NS_IF_RELEASE(kNC_child);    NS_IF_RELEASE(kNC_URL);    NS_IF_RELEASE(kNC_HistoryRoot);    NS_IF_RELEASE(kNC_HistoryByDate);  }  if (mSyncTimer)    mSyncTimer->Cancel();  if (mExpireNowTimer)    mExpireNowTimer->Cancel();}