###### (This function is part of SDL_image, a separate library from SDL.) # IMG_FreeAnimation Dispose of an [IMG_Animation](IMG_Animation) and free its resources. ## Syntax ```c void IMG_FreeAnimation(IMG_Animation *anim); ``` ## Function Parameters | | | | ------------ | --------------------------------------------- | | **anim** | [IMG_Animation](IMG_Animation) to dispose of. | ## Remarks The provided `anim` pointer is not valid once this call returns. ## Version This function is available since SDL_image 3.0.0. ## Related Functions * [IMG_LoadAnimation](IMG_LoadAnimation) * [IMG_LoadAnimation_IO](IMG_LoadAnimation_IO) * [IMG_LoadAnimationTyped_IO](IMG_LoadAnimationTyped_IO) ---- [CategoryAPI](CategoryAPI)