static int killGenericHashTable(CollectorHashTable *table) { ASSERT(table != NULL); killHashTable(*table); delete table; return 1; }
CollectorEngine:: ~CollectorEngine () { killHashTable (StartdAds); killHashTable (StartdPrivateAds); killHashTable (ScheddAds); killHashTable (SubmittorAds); killHashTable (LicenseAds); killHashTable (MasterAds); killHashTable (StorageAds); killHashTable (AccountingAds); killHashTable (CkptServerAds); killHashTable (GatewayAds); killHashTable (CollectorAds); killHashTable (NegotiatorAds); killHashTable (HadAds); killHashTable (GridAds); GenericAds.walk(killGenericHashTable); if(m_collector_requirements) { delete m_collector_requirements; m_collector_requirements = NULL; } }
CollectorEngine:: ~CollectorEngine () { #ifdef HAVE_EXT_POSTGRESQL killHashTable (QuillAds); #endif /* HAVE_EXT_POSTGRESQL */ killHashTable (StartdAds); killHashTable (StartdPrivateAds); killHashTable (ScheddAds); killHashTable (SubmittorAds); killHashTable (LicenseAds); killHashTable (MasterAds); killHashTable (StorageAds); killHashTable (CkptServerAds); killHashTable (GatewayAds); killHashTable (CollectorAds); killHashTable (NegotiatorAds); killHashTable (HadAds); killHashTable (XferServiceAds); killHashTable (LeaseManagerAds); killHashTable (GridAds); GenericAds.walk(killGenericHashTable); if(m_collector_requirements) { delete m_collector_requirements; m_collector_requirements = NULL; } }