Important: The information in this document is obsolete and should not be used for new development.
OTFreeMem
Frees memory allocated from the Open Transport memory pool.C INTERFACE
void OTFreeMem(void* arg)C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
arg
- A pointer to the memory to free. It must have been allocated by the
OTAllocMem
function.DISCUSSION
TheOTFreeMem
function deallocates memory that you have allocated using theOTAllocMem
function.SPECIAL CONSIDERATIONS
You can call this routine at both hardware interrupt level and from a deferred task. You need to call theOTEnterInterrupt
function before you make this call from a hardware interrupt.SEE ALSO
TheOTAllocMem
function.