FreeBSD/contrib/openbsm/bin/auditfilterd/auditfilterd_conf.c
/*
 * Free all memory associated with an auditfilter_module list.  Does not
 * dlclose() or shut down the modules, just free the memory.  Use
 * auditfilter_module_list_detach() for that, if required.
 */
Free all memory associated with an auditfilter_module list.  Does not
dlclose() or shut down the modules, just free the memory.  Use
auditfilter_module_list_detach() for that, if required.
Free all memory associated with an auditfilter_module list . Does not dlclose () or shut down the modules just free the memory . Use auditfilter_module_list_detach () for that if required .
static void
auditfilter_module_list_free(struct auditfilter_module_list *list)
{
	struct auditfilter_module *am;
	while (!(TAILQ_EMPTY(list))) {
		am = TAILQ_FIRST(list);
		TAILQ_REMOVE(list, am, am_list);
		auditfilter_module_free(am);
	}
}
static void auditfilter_module_list_free ( struct auditfilter_module_list * list ) { struct auditfilter_module * am ; while ( ! ( TAILQ_EMPTY ( list ) ) ) { am = TAILQ_FIRST ( list ) ; TAILQ_REMOVE ( list , am , am_list ) ; auditfilter_module_free ( am ) ; } }
Free all memory associated with an auditfilter_module list.
Free all memory associated with an auditfilter_module list .