PreviousNext

sec_attr_util_sch_ent_free(3sec)

Frees nonnull pointers in a sec_attr_schema_entry_t and the pointer to the sec_attr_schema_entry_t itself

Synopsis

#include <dce/sec_attr_util.h>

void sec_attr_util_sch_ent_free (
sec_attr_schema_entry_t **sec_sch_entry_p);

Parameters

Input/Output

**sec_sch_entry_p
As input, the address of an allocated pointer to a potentially initialized sec_attr_schema_entry_t. As output, the address of a deallocated pointer that has been set to NULL.

Description
The sec_attr_util_sch_ent_free( ) routine frees each nonnull pointer in a sec_attr_schema_entry_t pointed to by a *sec_sch_entry_p. The *sec_sch_entry_p itself is also freed and set to NULL. A partially initialized sec_attr_schema_entry_t is handled correctly.

Files

/usr/include/dce/sec_attr_util.idl
The idl file from which dce/sec_attr_util.h was derived.

Related Information
Functions:

sec_attr_util_sch_ent_free_ptrs(3sec)