destroy_rle_sprite man page

destroy_rle_sprite — Destroys an RLE sprite. Allegro game programming library.

Synopsis

#include <allegro.h>

void destroy_rle_sprite(RLE_SPRITE *sprite);

Description

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

See Also

get_rle_sprite(3)

Referenced By

get_rle_sprite(3).

version 4.4.2 Allegro Allegro manual