gss_release_oid_set(3)gss_release_oid_set(3)NAMEgss_release_oid_set - Free the storage associated with an OID set
SYNOPSIS
#include <gssapi/gssapi.h>
OM_uint32 gss_release_oid_set(
OM_uint32 * minor_status,
gss_OID_set * set );
PARAMETERS
Kerberos 5 error code. The object identifier (OID) set being released.
If GSS_C_NO_OID_SET is specified, the function executes but does noth‐
ing. A value of GSS_C_NO_OID_SET is returned.
DESCRIPTION
The gss_release_oid_set() function frees the storage associated with an
OID set created previously with a GSS-API function call. Use this
function to prevent memory leaks.
This function frees the storage associated with each individual member
OID, the OID set's elements array, and the gss_oid_set_desc.
The gss_OID_set parameter is set to GSS_C_NO_OID_SET when this function
executes successfully.
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: gss_add_oid_set_member(3), gss_create_empty_oid_set(3),
gss_indicate_mechs(3), gss_inquire_mechs_for_name(3),
gss_inquire_names_for_mech(3)gss_release_oid_set(3)