---
title: "AuthorizationFreeItemSet(_:)"
framework: security
role: symbol
role_heading: Function
path: "security/authorizationfreeitemset(_:)"
---

# AuthorizationFreeItemSet(_:)

Frees the memory associated with a set of authorization items.

## Declaration

```swift
func AuthorizationFreeItemSet(_ set: UnsafeMutablePointer<AuthorizationItemSet>) -> OSStatus
```

## Parameters

- `set`: A pointer to the authorization set to free.

## Return Value

Return Value A result code. See Authorization Services Result Codes.

## Discussion

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.
