DOKK / manpages / debian 13 / libsdl3-image-doc / IMG_FreeAnimation.3.en
IMG_FreeAnimation(3) SDL_image3 FUNCTIONS IMG_FreeAnimation(3)

IMG_FreeAnimation - Dispose of an IMG_Animation
and free its resources.

Defined in SDL3_image/SDL_image.h

#include "SDL3_image/SDL_image.h"
void IMG_FreeAnimation(IMG_Animation *anim);

The provided anim pointer is not valid once this call returns.

IMG_Animation
to dispose of.

This function is available since SDL_image 3.0.0.

(3), IMG_LoadAnimation(3), (3), IMG_LoadAnimation_IO(3), (3), IMG_LoadAnimationTyped_IO(3)

SDL_image 3.2.4 SDL_image