PreviousNext

sec_pk_data_free(3sec)

Frees memory allocated to a sec_pk_data_t and its aliases. This routine is not available in the DCE binary code. It is provided in DCE source for use by vendors.

Synopsis

#include <sec_pk_base>

void sec_pk_data_free(

sec_pk_data_t *data_p);

Parameters

Input/Output

data_p
As input, a pointer to a sec_pk_data_t that points to the memory to be reclaimed. As output, a pointer to a sec_pk_data_t that is set to NULL.

Description

The sec_pk_data_free( ) routine frees and sets to NULL each non-NULL pointer in a sec_pk_data_t. Use this function, rather than sec_pk_data_zero_and_free( ) for sec_pk_data_t structures that contain a public key pair and other nonsensitive data.

Files

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

Related Information

Functions:
sec_pk_data_zero_and_free(3sec)