logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

SDL_aligned_free - Free memory allocated by SDL_aligned_alloc().

Availability

       This function is available since SDL 3.2.0.

Description

       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.

Name

       SDL_aligned_free - Free memory allocated by SDL_aligned_alloc().

See Also

SDL_aligned_alloc(3)

Simple Directmedia Layer                           SDL 3.2.20                                SDL_aligned_free(3)

Synopsis

#include<SDL3/SDL_stdinc.h>voidSDL_aligned_free(void*mem);

Thread Safety

       It is safe to call this function from any thread.

See Also