---
title: CFAllocatorReleaseCallBack
framework: corefoundation
role: symbol
role_heading: Type Alias
path: corefoundation/cfallocatorreleasecallback
---

# CFAllocatorReleaseCallBack

A prototype for a function callback that releases the given data.

## Declaration

```swift
typealias CFAllocatorReleaseCallBack = (UnsafeRawPointer?) -> Void
```

## Parameters

- `info`: The data to be released.

## Discussion

Discussion 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.

## See Also

### Callbacks

- [CFAllocatorAllocateCallBack](corefoundation/cfallocatorallocatecallback.md)
- [CFAllocatorCopyDescriptionCallBack](corefoundation/cfallocatorcopydescriptioncallback.md)
- [CFAllocatorDeallocateCallBack](corefoundation/cfallocatordeallocatecallback.md)
- [CFAllocatorPreferredSizeCallBack](corefoundation/cfallocatorpreferredsizecallback.md)
- [CFAllocatorReallocateCallBack](corefoundation/cfallocatorreallocatecallback.md)
- [CFAllocatorRetainCallBack](corefoundation/cfallocatorretaincallback.md)
