#include <oskit/c/malloc.h>void sfree(void *buf, size_t size);
Frees a block of memory with the indicated size. Calls lmm_free to release the memory.Note that sfree must only be called with memory allocated by one of: smalloc, smallocf, smemalign, or smemalignf and that the size given must match that used on allocation.
- buf
- Pointer to memory to be freed.
- size
- Size of memory block being freed.