C++Builder 内存泄露检测
CodeGuard
http://bbs.2cto.com/read.php?tid=179933
XE新版里
ReportMemoryLeaksOnShutdown := True;
http://www.cnblogs.com/del/archive/2009/12/16/1625664.html