libyama is a malloc implementation that bundles leak tracking by auditing allocations, array bound write detection, detection of access to free'd memory, realloc/free on invalid pointers. It is intended as a replacement to malloc, and can either be preloaded on the command line, or can be linked into a program.
Re: Electric Fence?
ABW detection code was inspired by ElectricFence. efence doesn't track leaks; and there are not many memory debuggers that print out a symbolic stack trace (memprof does). But, as I've said in the README file, this is Yet another Memory Allocator