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

unload_datafile - Frees all the objects in a datafile. Allegro game programming library.

#include <allegro.h>

void unload_datafile(DATAFILE *dat);

Frees all the objects in a datafile. Use this to avoid memory leaks in your program.

load_datafile(3alleg4), excustom(3alleg4), exdata(3alleg4), exexedat(3alleg4), exgui(3alleg4), exsprite(3alleg4), exunicod(3alleg4)

version 4.4.2 Allegro