C API for BALTECH SDK
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages

§ brp_mempool_free()

BRP_LIB void brp_mempool_free ( brp_mempool mempool)

Releases the memory of a brp_mempool.

All brp_bufs created by the mempool are getting invalid and the memory is realeased. The mempool itself is empty afterwards and can be reuse again.