#include <oskit/lmm.h>void lmm_free(lmm_t *lmm, void *block, oskit_size_t size);
This routine is used to return a memory block allocated with one of the above lmm_alloc functions to the LMM pool from which it was allocated.
- lmm
- The memory pool from which the memory block was allocated.
- block
- A pointer to the memory block to free, as returned by one of the lmm_alloc functions.
- size
- The size of the memory block to free, as specified to the allocation function when the block was allocated.