Memory allocation check

Updated: October 18, 2022

The default heap allocation algorithm uses cookies for inline heap allocation data.

You can configure it to guard against double free errors by specifying the MALLOC_FREE_CHECK command via mallopt().

For more information, see mallopt() in the C Library Reference.