SDL_aligned_free(3)

SDL_aligned_free3

Free memory allocated by sdl_aligned_alloc ().

Usage

#include "SDL3/SDL.h"

void SDL_aligned_free(void *mem);

Header file

Defined in SDL3/SDL_stdinc.h

Overview

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

If mem is NULL, this function does nothing.

Function parameters

mem

a pointer previously returned by SDL_aligned_alloc (), or NULL.

Thread safety

It is safe to call this function from any thread.

Availability

This function is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.