mirror of
https://github.com/reactos/reactos.git
synced 2026-07-04 09:04:20 +08:00
We can borrow the power of CRT debug. These changes are effective for debug version only: - Insert #include <crtdbg.h> at main.c. - Call _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF) at the prologue of wWinMain. This is a follow-up of #5151 (9abd9b6) and0998665.