VLD detects memory leaks in googletest library building project as Multi-threaded Debug (/MTd) (output below).
Building the project as Multi-threaded Debug DLL (/MDd), VLD does not catch whose leaks.
Visual Leak Detector read settings from: C:\test\build\bin\vld.ini
Visual Leak Detector Version 2.5.8 installed.
Running main() from C:\test\googletest\googletest\src\gtest_main.cc
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from AppUnitTest
[ RUN ] AppUnitTest.Test
[ OK ] AppUnitTest.Test (0 ms)
[----------] 1 test from AppUnitTest (1 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (4 ms total)
[ PASSED ] 1 test.
WARNING: Visual Leak Detector detected memory leaks!
---------- Block 844 at 0x00000000AE693C10: 64 bytes ----------
Leak Hash: 0x139C30F4, Count: 1, Total 64 bytes
Call Stack (TID 26640):
Data:
10 3C 69 AE D3 01 00 00 10 3C 69 AE D3 01 00 00 .<i..... .<i.....
10 3C 69 AE D3 01 00 00 01 01 CD CD CD CD CD CD .<i..... ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
Visual Leak Detector detected 4 memory leaks (352 bytes).
Largest number used: 40773 bytes.
Total allocations: 127947 bytes.
Visual Leak Detector is now exiting.
VLD detects memory leaks in googletest library building project as Multi-threaded Debug (/MTd) (output below).
Building the project as Multi-threaded Debug DLL (/MDd), VLD does not catch whose leaks.