...
This compliant solution implements an aligned realloc()
function. It allocates resize
bytes of new memory with the same alignment as the old memory and then moves the old memory there, consequently, freeing up the old memory.
...
...
This compliant solution implements an aligned realloc()
function. It allocates resize
bytes of new memory with the same alignment as the old memory and then moves the old memory there, consequently, freeing up the old memory.
...