Index Index for
Section 3
Index Alphabetical
listing for G
Bottom of page Bottom of
page

gss_release_buffer(3)

NAME

gss_release_buffer - Free storage associated with buffer.

SYNOPSIS

#include <gssapi/gssapi.h> OM_uint32 gss_release_buffer( OM_uint32 * minor_status, gss_buffer_t buffer );

PARAMETERS

minor_status Kerberos 5 error code. buffer Buffer to be released. The buffer's length field is set to zero and its value is set to NULL.

DESCRIPTION

The gss_release_buffer() function frees storage associated with a buffer. The storage must have been allocated by a GSS-API function call. Use this function to prevent memory leaks. Passing in a NULL value does not cause the function to fail. If the function receives a non-NULL value (regardless of the buffer's length), it sets the buffer's length to zero and sets the buffer's value to NULL.

RETURN VALUES

GSS_S_CALL_INACCESSIBLE_READ 01xxxxxx GSS_S_CALL_INACCESSIBLE_WRITE 02xxxxxx GSS_S_COMPLETE 00000000 GSS_S_FAILURE xx0Dxxxx

SEE ALSO

Functions: csf_gss_acq_user(3), gss_accept_sec_context(3), gss_delete_sec_context(3), gss_display_name(3), gss_display_status(3), gss_export_name(3), gss_export_sec_context(3), gss_get_mic(3), gss_init_sec_context(3), gss_unwrap(3), gss_wrap(3)

Index Index for
Section 3
Index Alphabetical
listing for G
Top of page Top of
page