DOKK / manpages / debian 10 / allegro5-doc / al_free_with_context.3alleg5.en
al_free_with_context(3alleg5) al_free_with_context(3alleg5)

al_free_with_context - Allegro 5 API

#include <allegro5/allegro.h>
void al_free_with_context(void *ptr,
   int line, const char *file, const char *func)
    

This calls free() from the Allegro library (this matters on Windows), unless overridden with al_set_memory_interface(3alleg5).

Generally you should use the al_free(3alleg5) macro.

Allegro reference manual