- Description
Turns on debugging for memory (de-)allocation. This will warn you when you free an invalid block. It also enables memory leak detection.
- When to use it
In general, this should be used as long as you are developing a program, unless you want to do speed tests.
- Configure option
This is enabled by default. Use
configure --disable-alloc to disable it.
- See also:
- Memory Allocation Debug Support