FreeBSD/contrib/openbsm/bin/auditfilterd/auditfilterd_conf.c
/*
 * Free an individual auditfilter_module structure.  Will not shut down the
 * module, just frees the memory.  Does so conditional on pointers being
 * non-NULL so that it can be used on partially allocated structures.
 */
Free an individual auditfilter_module structure.  Will not shut down the
module, just frees the memory.  Does so conditional on pointers being
non-NULL so that it can be used on partially allocated structures.
Free an individual auditfilter_module structure . Will not shut down the module just frees the memory . Does so conditional on pointers being non - NULL so that it can be used on partially allocated structures .
static void
auditfilter_module_free(struct auditfilter_module *am)
{
	if (am->am_modulename != NULL)
		free(am->am_modulename);
	if (am->am_arg_buffer != NULL)
		free(am->am_arg_buffer);
	if (am->am_argv != NULL)
		free(am->am_argv);
}
static void auditfilter_module_free ( struct auditfilter_module * am ) { if ( am -> am_modulename != NULL ) free ( am -> am_modulename ) ; if ( am -> am_arg_buffer != NULL ) free ( am -> am_arg_buffer ) ; if ( am -> am_argv != NULL ) free ( am -> am_argv ) ; }
Free an individual auditfilter_module structure.
Free an individual auditfilter_module structure .