Windows Programming Tips
#include <crtdbg.h> int main() { ... _CrtDumpMemoryLeaks() ; return 0; }
情報元: ポインタ不要論 -やまざき@BinaryTechnology