Memory allocation check

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.