Don't use stderr.
update the example
use malloc/free directly in mleakdetect_dump().
Mention about -Wl,-E and tweak.
don't destroy
preserve the result and don't cache the statistics in mleakdetect_dump()