DOKK / manpages / debian 10 / allegro4-doc / destroy_scene.3alleg4.en
destroy_scene(3alleg4) Allegro manual destroy_scene(3alleg4)

destroy_scene - Deallocates the memory used by a scene. Allegro game programming library.

#include <allegro.h>

void destroy_scene();

Deallocate memory previously allocated by create_scene. Use this to avoid memory leaks in your program.

create_scene(3alleg4), scene_polygon3d(3alleg4), clear_scene(3alleg4), render_scene(3alleg4), scene_gap(3alleg4), exscn3d(3alleg4)

version 4.4.2 Allegro