Frees a cell allocated by MidiNewCell function. This is the lowest level command for accessing the MidiShare Memory Manager. One must be sure to use MidiFreeCell on an individual cell allocated with MidiNewCell and not on complete MidiShare events. Not doing so may result in the lose of cells.
pascal void MidiFreeCell (MidiEvPtr c);
c
- a MidiEvPtr, a pointer to a basic cell of 16 bytes.
Free a cell previously allocated.
MidiEvPtr aCell; aCell = MidiNewCell(); /* ....... */ MidiFreeCell( aCell );
Cells allocated with MidiNewCell must be freed with MidiFreeCell and not with MidiFreeEv.