# free_aligned_sized

From cppreference.com
< c‎ | memory

Defined in header `<stdlib.h>` |  |
void free_aligned_sized( void* ptr, size_t alignment, size_t size); |  | (since C23)

Deallocates the space previously allocated by malloc(), calloc(), aligned_alloc(), (since C11) or realloc().

### Parameters

ptr | - | pointer to the memory to deallocate
alignment | - | alignment of memory to deallocate
size | - | size of memory to deallocate

### Return value

(none)

### See also

free | deallocates previously allocated memory (function)
free_sized (C23) | deallocates previously allocated sized memory (function)
malloc | allocates memory (function)

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=c/memory/free_aligned_sized&oldid=143508"