Deallocates a block of memory with a given allocator.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The allocator that was used to allocate the block of memory pointed to by
An untyped pointer to a block of memory to deallocate using
If the allocator does not specify a
deallocate callback function, the memory is not deallocated.
You must use the same allocator to deallocate memory as was used to allocate it.