Forcing verification

You can force a full allocation chain check at certain points while your program is executing, without turning on chain checking.

Specify the following option for the cmd argument to the librcheck version of mallopt():

MALLOC_VERIFY
Perform a chain check immediately. If an error is found, perform error handling. The value argument is ignored.