Utilities to help fight and prevent memory_leaks