Function

gss_release_buffer

Frees the memory associated with a single buffer descriptor.

Declaration

OM_uint32 gss_release_buffer(OM_uint32 *minor_status, gss_buffer_t buffer);

Parameters

minor_status

A pointer to the secondary status result that provides additional information in case of failure.

buffer

The buffer reference that is to be removed from memory.

Return Value

A status code set to GSS_S_COMPLETE on completion.

See Also

Allocation and Deallocation

gss_create_empty_buffer_set

Allocates an empty buffer set descriptor that you use to manage an array of buffers.

gss_add_buffer_set_member

Copies the contents of a buffer into a buffer set.

gss_release_buffer_set

Frees the memory associated with a buffer set descriptor and all the buffers it contains.