Function

gss_release_buffer_set(_:_:)

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

Declaration

func gss_release_buffer_set(_ minor_status: UnsafeMutablePointer<OM_uint32>, _ buffer_set: UnsafeMutablePointer<gss_buffer_set_t>?) -> OM_uint32

Parameters

minor_status

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

buffer_set

A pointer to the buffer set descriptor reference that you want to free.

Return Value

A status code set to GSS_S_COMPLETE on completion.

Discussion

This call frees the memory of all of the buffers that the buffer set contains, as well as the buffer set descriptor itself. Use this function when you’re done with a buffer set that you created with gss_create_empty_buffer_set(_:_:), or created on your behalf by gss_add_buffer_set_member(_:_:_:).

See Also