Free memory previously allocated with SDL_stack_alloc.
Defined in <SDL3/SDL_stdinc.h>
#define SDL_stack_free(data)| data | the pointer, from SDL_stack_alloc(), to free. |
If SDL used alloca() to allocate this memory, this macro does nothing and the allocated memory will be automatically released when the function that called SDL_stack_alloc() returns. If SDL used SDL_malloc(), it will SDL_free the memory immediately.
It is safe to call this macro from any thread.
This macro is available since SDL 3.2.0.