1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<title>MI_CallFree</title> 8<link rel="stylesheet" href="../../css/nitro.css" type="text/css" /> 9</head> 10<body> 11<h1>MI_CallFree <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></h1> 12<h2>Syntax</h2> 13<dl> 14 <dd> 15<code>#include <nitro/mi.h><br /> 16 <br /> 17 void MI_CallFree(<a href="MIAllocator.html">MIAllocator</a> *allocator, void *buffer);</code></dd> 18</dl> 19 20<h2>Arguments</h2> 21<table border="1" width="100%"> 22 <tbody> 23 <tr> 24 <td style="width:13%"><em><strong>allocator</strong></em></td> 25 <td style="width:87%">Pointer to the <a href="MIAllocator.html"><CODE>MIAllocator</CODE></a> structure to access.<br /> 26 The allocator must have been initialized using <a href="MI_InitAllocator.html"><CODE>MI_InitAllocator()</CODE></a>.</td> 27 </tr> 28 <tr> 29 <td style="width:13%"><em><strong>buffer</strong></em></td> 30 <td style="width:87%">Memory to be deallocated.</td> 31 </tr> 32 </tbody> 33</table> 34 35<h2>Return Values</h2> 36<p>None.</p> 37<!--<p>??????????????????????????????</p> --> 38 39<h2>Description</h2> 40<p>Frees memory to the allocator using the <a href="MIAllocator.html"><CODE>MIAllocator</CODE></a> structure.</p> 41<p>Internally, this just calls the callback function for memory deallocation specified in <a href="MI_InitAllocator.html"><CODE>MI_InitAllocator()</CODE></a>.<br />For more information, see the reference for the <a href="MIAllocator.html"><CODE>MIAllocator</CODE></a> structure. 42</p> 43 44<h2>See Also</h2> 45<p><code><a href="MIAllocator.html">MIAllocator,</a> <a href="MIAllocatorAllocFunction.html">MIAllocatorAllocFunction</a>, <a href="MIAllocatorFreeFunction.html">MIAllocatorFreeFunction</a> <br /> <a href="MI_CallAlloc.html">MI_CallAlloc</a></code></p> 46<h2>Revision History</h2> 47<p>2007/06/12 Initial version.</p> 48<hr><p>CONFIDENTIAL</p></body> 49</html> 50