malloc()
/free()
functions, which detects
many common memory allocation errors such as memory leaks, releases of
bad pointers, use of buffers after freeing them, and counting on the
initial contents of allocated buffers. Most programs can use
SMARTALLOC simply by recompiling with its header file and including
the code. SMARTALLOC can be disabled for production use with a simple
#define
.