FreeBSD/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_printer_tbl.c
/**
 * Finalization routine for hrPrinterTable
 * It destroys the lists and frees any allocated heap memory
 */
Finalization routine for hrPrinterTable
It destroys the lists and frees any allocated heap memory
Finalization routine for hrPrinterTable It destroys the lists and frees any allocated heap memory
void
fini_printer_tbl(void)
{
	struct printer_entry *n1;
	while ((n1 = TAILQ_FIRST(&printer_tbl)) != NULL) {
		TAILQ_REMOVE(&printer_tbl, n1, link);
		free(n1);
	}
}
void fini_printer_tbl ( void ) { struct printer_entry * n1 ; while ( ( n1 = TAILQ_FIRST ( & printer_tbl ) ) != NULL ) { TAILQ_REMOVE ( & printer_tbl , n1 , link ) ; free ( n1 ) ; } }
Finalization routine for hrPrinterTable
 It destroys the lists and frees any allocated heap memory
Finalization routine for hrPrinterTable It destroys the lists and frees any allocated heap memory