AuthorizationFreeItemSet(_:)
Frees the memory associated with a set of authorization items.
Declaration
func AuthorizationFreeItemSet(_ set: UnsafeMutablePointer<AuthorizationItemSet>) -> OSStatusParameters
- set:
A pointer to the authorization set to free.
Return Value
A result code. See Authorization Services Result Codes.
Discussion
When your application no longer needs the authorization item sets created by the Security Server in the AuthorizationCopyRights(_:_:_:_:_:) and AuthorizationCopyInfo(_:_:_:) functions, call this function to free it.