MbufFree()函数

Synopsis

Free a data buffer.

Format

void MbufFree(BufId)

MIL_ID BufId; Buffer identifier to deallocate

Description

This function deallocates a previously allocated data buffer. The memory reserved for the specified buffer is released.

Child buffers associated to a parent buffer must be deallocated, using MbufFree, prior to deallocating the parent buffer.

The BufId parameter specifies the identifier of the data buffer to deallocate.

See also

MbufAlloc1d, MbufAlloc2d, MbufAllocColor, MbufChild1d, MbufChild2d, MbufChildColor