Free memory allocated by SDL_aligned_alloc().
Defined in <SDL3/SDL_stdinc.h>
void SDL_aligned_free(void *mem);
void * | mem | a pointer previously returned by SDL_aligned_alloc(), or NULL. |
The pointer is no longer valid after this call and cannot be dereferenced anymore.
If mem
is NULL, this function does nothing.
It is safe to call this function from any thread.
This function is available since SDL 3.1.3.