SDL_free

Free allocated memory.

The pointer is no longer valid after this call and cannot be dereferenced anymore.

If mem is NULL, this function does nothing.

\param mem a pointer to allocated memory, or NULL.

\threadsafety It is safe to call this function from any thread.

\since This function is available since SDL 3.2.0.

\sa SDL_malloc \sa SDL_calloc \sa SDL_realloc

extern (C) nothrow @nogc extern
void
SDL_free
(
void* mem
)

Meta