/** * Free the memory allocated to the hashmap. */ void deleteRefManager(RefManager* manager) { deleteHashMap(&((*manager)->map)); free(*manager); *manager = NULL; }
void finishAllSessions(void) { checkGraveyardInternal(1); deleteHashMap(sessions); }