al_free_with_context

void al_free_with_context(void *ptr,
   int line, const char *file, const char *func)
Introduced in 5.0.0

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

Generally you should use the al_free macro.


Most helpful discussions: