DOKK / manpages / debian 11 / allegro4-doc / destroy_compiled_sprite.3alleg4.en
destroy_compiled_sprite(3alleg4) Allegro manual destroy_compiled_sprite(3alleg4)

destroy_compiled_sprite - Destroys a compiled sprite. Allegro game programming library.

#include <allegro.h>

void destroy_compiled_sprite(COMPILED_SPRITE *sprite);

Destroys a compiled sprite structure previously returned by get_compiled_sprite(). If you pass a NULL pointer this function won't do anything. Use this once you are done with a compiled sprite to avoid memory leaks in your program.

get_compiled_sprite(3alleg4)

version 4.4.3 Allegro