# MIAllocatorFreeFunction

## Definition

      #include <nitro/mi.h>

      typedef void  (*MIAllocatorFreeFunction)(void *userdata, void *buffer);

## Arguments

userdata | An arbitrary user-defined value specified with `MI_InitAllocator()`. This is provided for the sake of convenience in implementing callback functions.
buffer | Memory to be deallocated.

## Return Values

None.

## Description

This is a function prototype that represents the format of the callback used to free memory to the allocator.

Use this format to implement a memory deallocation operation and specify your implementation in `MI_InitAllocator()`.

## See Also

`MIAllocator, MIAllocatorAllocFunction
MI_InitAllocator, MI_CallAlloc, MI_CallFree`

## Revision History

2007/06/12 Initial version.

CONFIDENTIAL