# MI_CallFree

## Syntax

  `#include <nitro/mi.h>
  void MI_CallFree(MIAllocator *allocator, void *buffer);`

## Arguments

allocator | Pointer to the `MIAllocator` structure to access. The allocator must have been initialized using `MI_InitAllocator()`.
buffer | Memory to be deallocated.

## Return Values

None.

## Description

Frees memory to the allocator using the `MIAllocator` structure.

Internally, this just calls the callback function for memory deallocation specified in `MI_InitAllocator()`.
For more information, see the reference for the `MIAllocator` structure.

## See Also

`MIAllocator, MIAllocatorAllocFunction, MIAllocatorFreeFunction
MI_CallAlloc`

## Revision History

2007/06/12 Initial version.

CONFIDENTIAL