al_malloc_with_context

void *al_malloc_with_context(size_t n,
   int line, const char *file, const char *func)
Introduced in 5.0.0

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

Generally you should use the al_malloc macro.


Most helpful discussions: