destroy_compiled_sprite - Man Page

Destroys a compiled sprite. Allegro game programming library.

Synopsis

#include <allegro.h>

void destroy_compiled_sprite(COMPILED_SPRITE *sprite);

Description

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.

See Also

get_compiled_sprite(3)

Referenced By

get_compiled_sprite(3).

version 4.4.3 Allegro manual