---
title: release
framework: corefoundation
role: symbol
role_heading: Instance Property
path: corefoundation/cfallocatorcontext/release
---

# release

A prototype for a function callback that releases the data pointed to by the info field. In implementing this function, release (or free) the data you have defined for the allocator context. You may set this function pointer to NULL, but doing so might result in memory leaks.

## Declaration

```swift
var release: CFAllocatorReleaseCallBack!
```
