Skip to content

cf_aligned_free

Category: allocator
GitHub: cute_alloc.h


Frees a block of memory previously allocated by cf_aligned_alloc.

void cf_aligned_free(void* ptr);
Parameters Description
ptr The memory to deallocate.

Remarks

Aligned allocation is mostly useful as a performance optimization, or for SIMD operations that require byte alignments.

cf_aligned_alloc