Update to 6.1.5
Add custom memory replacements for malloc, realloc and free