This project has moved. For the latest updates, please go here.

Memory leak check

Aug 29, 2011 at 2:43 PM
Edited Aug 29, 2011 at 2:46 PM

Hello ,

I am running VLD 2,2 on Windows XP and VC++ 2008 Express edition. When I check my program for leaks, I get a report that says there are 59 leaks. However the same program when run under linux using Valgrind says there are no leaks possible. Also the call stack report generated by VLD does not indicate my subroutines as the ones indicating leaks. I would appreciate any help in understanding what is happening.

I am  providing a partial report hoping that it will help in explaining to me what is happening. The rest of the report also reference parts of the program that I have not written.

Thanks in advance,

Leak report is below----------------------

WARNING: Visual Leak Detector detected memory leaks!
---------- Block 1 at 0x00771EA0: 568 bytes ----------
  Call Stack:
    f:\dd\vctools\crt_bld\self_x86\crt\src\tidtable.c (395): TestProgam.exe!_mtinit + 0x18 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (215): TestProgam.exe!__tmainCRTStartup + 0x5 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (182): TestProgam.exe!mainCRTStartup
    0x7C817077 (File and line number not available): kernel32.dll!RegisterWaitForInputIdle + 0x49 bytes
  Data:
    00 00 00 00    F0 20 77 00    1C D2 62 00    8A 01 00 00     ......w. ..b.....
    14 02 00 00    02 00 00 00    01 00 00 00    FD FD FD FD     ........ ........
    F4 0B 00 00    FF FF FF FF    02 00 00 00    02 00 00 00     ........ ........
    00 00 00 00    01 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    B8 3B 77 00     ........ .....;w.
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    88 34 63 00     ........ .....4c.
    00 00 00 00    00 00 00 00    00 3D 77 00    90 40 B9 00     ........ .=w..@..
    01 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    43 00 00 00    00 00 00 00     ........ C.......
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........


---------- Block 2 at 0x007720F0: 2084 bytes ----------
  Call Stack:
    f:\dd\vctools\crt_bld\self_x86\crt\src\ioinit.c (137): TestProgam.exe!_ioinit + 0x15 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (235): TestProgam.exe!__tmainCRTStartup + 0x5 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (182): TestProgam.exe!mainCRTStartup
    0x7C817077 (File and line number not available): kernel32.dll!RegisterWaitForInputIdle + 0x49 bytes
  Data:
    A0 1E 77 00    E0 3C 77 00    D4 51 63 00    88 00 00 00     ..w..<w. .Qc.....
    00 08 00 00    02 00 00 00    02 00 00 00    FD FD FD FD     ........ ........
    03 00 00 00    C1 0A 00 00    01 00 00 00    F8 44 15 00     ........ .....D..
    FF FF FF FF    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    A0 0F 00 00    00 0A 0A 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    07 00 00 00    C1 0A 00 00    01 00 00 00    30 45 15 00     ........ ....0E..
    FF FF FF FF    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    A0 0F 00 00    00 0A 0A 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    0B 00 00 00    C1 0A 00 00    01 00 00 00    68 45 15 00     ........ ....hE..
    FF FF FF FF    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    A0 0F 00 00    00 0A 0A 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    FF FF FF FF    00 0A 00 00    01 00 00 00    60 47 15 00     ........ ....`G..
    FF FF FF FF    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........


---------- Block 214 at 0x00773940: 60 bytes ----------
  Call Stack:
    f:\dd\vctools\crt_bld\self_x86\crt\src\mlock.c (279): TestProgam.exe!_mtinitlocknum + 0x13 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\stream.c (71): TestProgam.exe!_getstream + 0xC bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\fopen.c (61): TestProgam.exe!_wfsopen + 0x5 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\fiopen.cpp (22): TestProgam.exe!std::_Xfsopen + 0x11 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\fiopen.cpp (109): TestProgam.exe!std::_Fiopen + 0x18 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\fiopen.cpp (17): TestProgam.exe!std::_Fiopen + 0x14 bytes
    c:\program files\microsoft visual studio 9.0\vc\include\fstream (153): TestProgam.exe!std::basic_filebuf<char,std::char_traits<char> >::open + 0x1A bytes
    c:\program files\microsoft visual studio 9.0\vc\include\fstream (710): TestProgam.exe!std::basic_ofstream<char,std::char_traits<char> >::basic_ofstream<char,std::char_traits<char> > + 0x1A bytes
    c:\documents and settings\kcomandur\my documents\visual studio 2008\projects\TestProgam\TestProgam\subroutines.cpp (658): TestProgam.exe!LogFileHeader + 0x1A bytes
    c:\documents and settings\kcomandur\my documents\visual studio 2008\projects\TestProgam\TestProgam\driver.cpp (203): TestProgam.exe!main + 0xC bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (266): TestProgam.exe!__tmainCRTStartup + 0x19 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (182): TestProgam.exe!mainCRTStartup
    0x7C817077 (File and line number not available): kernel32.dll!RegisterWaitForInputIdle + 0x49 bytes
  Data:
    10 5F 77 00    98 39 77 00    74 E3 62 00    17 01 00 00     ._w..9w. t.b.....
    18 00 00 00    02 00 00 00    D6 00 00 00    FD FD FD FD     ........ ........
    F0 46 15 00    FF FF FF FF    00 00 00 00    00 00 00 00     .F...... ........
    00 00 00 00    A0 0F 00 00    FD FD FD FD                    ........ ........


---------- Block 215 at 0x00773998: 60 bytes ----------
  Call Stack:
    f:\dd\vctools\crt_bld\self_x86\crt\src\mlock.c (279): TestProgam.exe!_mtinitlocknum + 0x13 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\osfinfo.c (58): TestProgam.exe!_alloc_osfhnd + 0x7 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\open.c (382): TestProgam.exe!_tsopen_nolock + 0x5 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\open.c (170): TestProgam.exe!_wsopen_helper + 0x21 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\open.c (907): TestProgam.exe!_wsopen_s + 0x1B bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\_open.c (272): TestProgam.exe!_wopenfile + 0x1A bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\fopen.c (83): TestProgam.exe!_wfsopen + 0x15 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\fiopen.cpp (22): TestProgam.exe!std::_Xfsopen + 0x11 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\fiopen.cpp (109): TestProgam.exe!std::_Fiopen + 0x18 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\fiopen.cpp (17): TestProgam.exe!std::_Fiopen + 0x14 bytes
    c:\program files\microsoft visual studio 9.0\vc\include\fstream (153): TestProgam.exe!std::basic_filebuf<char,std::char_traits<char> >::open + 0x1A bytes
    c:\program files\microsoft visual studio 9.0\vc\include\fstream (710): TestProgam.exe!std::basic_ofstream<char,std::char_traits<char> >::basic_ofstream<char,std::char_traits<char> > + 0x1A bytes
    c:\documents and settings\kcomandur\my documents\visual studio 2008\projects\TestProgam\TestProgam\subroutines.cpp (658): TestProgam.exe!LogFileHeader + 0x1A bytes
    c:\documents and settings\kcomandur\my documents\visual studio 2008\projects\TestProgam\TestProgam\driver.cpp (203): TestProgam.exe!main + 0xC bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (266): TestProgam.exe!__tmainCRTStartup + 0x19 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (182): TestProgam.exe!mainCRTStartup
    0x7C817077 (File and line number not available): kernel32.dll!RegisterWaitForInputIdle + 0x49 bytes
  Data:
    40 39 77 00    98 3B 77 00    74 E3 62 00    17 01 00 00     @9w..;w. t.b.....
    18 00 00 00    02 00 00 00    D7 00 00 00    FD FD FD FD     ........ ........
    28 47 15 00    FF FF FF FF    00 00 00 00    00 00 00 00     (G...... ........
    00 00 00 00    A0 0F 00 00    FD FD FD FD                    ........ ........


---------- Block 224 at 0x00773B98: 62 bytes ----------
  Call Stack:
    f:\dd\vctools\crt_bld\self_x86\crt\src\asctime.c (205): TestProgam.exe!asctime + 0x1E bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\ctime64.c (99): TestProgam.exe!_ctime64 + 0x9 bytes
    c:\program files\microsoft visual studio 9.0\vc\include\time.inl (92): TestProgam.exe!ctime + 0x9 bytes
    c:\documents and settings\kcomandur\my documents\visual studio 2008\projects\TestProgam\TestProgam\subroutines.cpp (661): TestProgam.exe!LogFileHeader + 0xC bytes
    c:\documents and settings\kcomandur\my documents\visual studio 2008\projects\TestProgam\TestProgam\driver.cpp (203): TestProgam.exe!main + 0xC bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (266): TestProgam.exe!__tmainCRTStartup + 0x19 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (182): TestProgam.exe!mainCRTStartup
    0x7C817077 (File and line number not available): kernel32.dll!RegisterWaitForInputIdle + 0x49 bytes
  Data:
    98 39 77 00    20 82 77 00    9C 65 63 00    CD 00 00 00     .9w...w. .ec.....
    1A 00 00 00    02 00 00 00    E0 00 00 00    FD FD FD FD     ........ ........
    46 72 69 20    41 75 67 20    32 36 20 31    34 3A 34 38     Fri.Aug. 26.14:48
    3A 32 34 20    32 30 31 31    0A 00 FD FD    FD FD           :24.2011 ........


---------- Block 4 at 0x00773CE0: 580 bytes ----------
  Call Stack:
    f:\dd\vctools\crt_bld\self_x86\crt\src\mbctype.c (593): TestProgam.exe!_setmbcp + 0x16 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\mbctype.c (854): TestProgam.exe!__initmbctable + 0x7 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\stdargv.c (103): TestProgam.exe!_setargv
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (244): TestProgam.exe!__tmainCRTStartup + 0x5 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (182): TestProgam.exe!mainCRTStartup
    0x7C817077 (File and line number not available): kernel32.dll!RegisterWaitForInputIdle + 0x49 bytes
  Data:
    F0 20 77 00    40 3F 77 00    48 34 63 00    51 02 00 00     ..w.@?w. H4c.Q...
    20 02 00 00    02 00 00 00    04 00 00 00    FD FD FD FD     ........ ........
    02 00 00 00    E4 04 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 00    00 00 00 00    00 00 10 10     ........ ........
    10 10 10 10    10 10 10 10    10 10 10 10    10 10 10 10     ........ ........
    10 10 10 10    10 10 10 10    00 00 00 00    00 00 20 20     ........ ........
    20 20 20 20    20 20 20 20    20 20 20 20    20 20 20 20     ........ ........
    20 20 20 20    20 20 20 20    00 00 00 00    00 00 00 00     ........ ........
    20 00 00 00    00 00 00 10    00 10 00 10    00 00 00 00     ........ ........
    00 00 00 00    00 00 00 20    00 20 00 20    10 00 00 00     ........ ........
    00 00 00 00    00 00 00 20    00 00 00 00    00 00 00 00     ........ ........
    00 00 20 00    00 00 00 20    00 00 00 00    00 10 10 10     ........ ........


---------- Block 10 at 0x00773F40: 248 bytes ----------
  Call Stack:
    f:\dd\vctools\crt_bld\self_x86\crt\src\stdargv.c (142): TestProgam.exe!_setargv + 0x1B bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (244): TestProgam.exe!__tmainCRTStartup + 0x5 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (182): TestProgam.exe!mainCRTStartup
    0x7C817077 (File and line number not available): kernel32.dll!RegisterWaitForInputIdle + 0x49 bytes
  Data:
    E0 3C 77 00    50 40 77 00    7C B8 63 00    8E 00 00 00     .<w.P@w. |.c.....
    D4 00 00 00    02 00 00 00    0A 00 00 00    FD FD FD FD     ........ ........
    70 3F 77 00    DF 3F 77 00    20 40 77 00    00 00 00 00     p?w..?w. .@w.....
    63 3A 5C 44    6F 63 75 6D    65 6E 74 73    20 61 6E 64     c:\Docum ents.and
    20 53 65 74    74 69 6E 67    73 5C 6B 63    6F 6D 61 6E     .Setting s\kcoman
    64 75 72 5C    4D 79 20 44    6F 63 75 6D    65 6E 74 73     dur\My.D ocuments
    5C 56 69 73    75 61 6C 20    53 74 75 64    69 6F 20 32     \Visual. Studio.2
    30 30 38 5C    50 72 6F 6A    65 63 74 73    5C 41 54 53     008\Proj ects\ATS
    69 6D 45 6E    67 69 6E 65    5C 44 65 62    75 67 5C 41     imEngine \Debug\A
    54 53 69 6D    45 6E 67 69    6E 65 2E 65    78 65 00 43     TSimEngi ne.exe.C
    3A 5C 44 6F    63 75 6D 65    6E 74 73 20    61 6E 64 20     :\Docume nts.and.
    53 65 74 74    69 6E 67 73    5C 6B 63 6F    6D 61 6E 64     Settings \kcomand
    75 72 5C 4D    79 20 44 6F    63 75 6D 65    6E 74 73 5C     ur\My.Do cuments\
    43 61 73 65    5F 49 6E 70    75 74 5F 44    61 74 61 00     Case_Inp ut_Data.
    30 31 31 32    32 30 31 31    30 34 33 32    31 35 31 33     01122011 04321513
    31 30 37 00    FD FD FD FD                                   107..... ........


---------- Block 11 at 0x00774050: 212 bytes ----------
  Call Stack:
    f:\dd\vctools\crt_bld\self_x86\crt\src\stdenvp.c (117): TestProgam.exe!_setenvp + 0x17 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (246): TestProgam.exe!__tmainCRTStartup + 0x5 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (182): TestProgam.exe!mainCRTStartup
    0x7C817077 (File and line number not available): kernel32.dll!RegisterWaitForInputIdle + 0x49 bytes
  Data:
    40 3F 77 00    40 41 77 00    40 B8 63 00    75 00 00 00     @?w.@Aw. @.c.u...
    B0 00 00 00    02 00 00 00    0B 00 00 00    FD FD FD FD     ........ ........
    60 41 77 00    D0 41 77 00    50 42 77 00    C0 42 77 00     `Aw..Aw. PBw..Bw.
    18 43 77 00    78 43 77 00    C8 43 77 00    18 44 77 00     .Cw.xCw. .Cw..Dw.
    80 44 77 00    38 45 77 00    D0 45 77 00    78 46 77 00     .Dw.8Ew. .Ew.xFw.
    78 47 77 00    D8 47 77 00    30 48 77 00    80 48 77 00     xGw..Gw. 0Hw..Hw.
    F8 48 77 00    50 49 77 00    D8 49 77 00    28 4A 77 00     .Hw.PIw. .Iw.(Jw.
    80 4A 77 00    E0 4A 77 00    30 4B 77 00    80 4B 77 00     .Jw..Jw. 0Kw..Kw.
    D8 4B 77 00    40 4C 77 00    A8 4C 77 00    00 4D 77 00     .Kw.@Lw. .Lw..Mw.
    50 4D 77 00    A0 4D 77 00    10 4E 77 00    A0 4E 77 00     PMw..Mw. .Nw..Nw.
    10 4F 77 00    90 4F 77 00    10 50 77 00    98 50 77 00     .Ow..Ow. .Pw..Pw.
    20 51 77 00    78 51 77 00    C8 51 77 00    58 52 77 00     .Qw.xQw. .Qw.XRw.
    B8 53 77 00    A0 55 77 00    28 5B 77 00    00 00 00 00     .Sw..Uw. ([w.....
    FD FD FD FD                                                  ........ ........


---------- Block 12 at 0x00774140: 88 bytes ----------
  Call Stack:
    f:\dd\vctools\crt_bld\self_x86\crt\src\stdenvp.c (127): TestProgam.exe!_setenvp + 0x14 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (246): TestProgam.exe!__tmainCRTStartup + 0x5 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (182): TestProgam.exe!mainCRTStartup
    0x7C817077 (File and line number not available): kernel32.dll!RegisterWaitForInputIdle + 0x49 bytes
  Data:
    50 40 77 00    B0 41 77 00    40 B8 63 00    7E 00 00 00     P@w..Aw. @.c.~...
    34 00 00 00    02 00 00 00    0C 00 00 00    FD FD FD FD     4....... ........
    41 4C 4C 55    53 45 52 53    50 52 4F 46    49 4C 45 3D     ALLUSERS PROFILE=
    43 3A 5C 44    6F 63 75 6D    65 6E 74 73    20 61 6E 64     C:\Docum ents.and
    20 53 65 74    74 69 6E 67    73 5C 41 6C    6C 20 55 73     .Setting s\All.Us
    65 72 73 00    FD FD FD FD                                   ers..... ........


---------- Block 13 at 0x007741B0: 97 bytes ----------
  Call Stack:
    f:\dd\vctools\crt_bld\self_x86\crt\src\stdenvp.c (127): TestProgam.exe!_setenvp + 0x14 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (246): TestProgam.exe!__tmainCRTStartup + 0x5 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (182): TestProgam.exe!mainCRTStartup
    0x7C817077 (File and line number not available): kernel32.dll!RegisterWaitForInputIdle + 0x49 bytes
  Data:
    40 41 77 00    30 42 77 00    40 B8 63 00    7E 00 00 00     @Aw.0Bw. @.c.~...
    3D 00 00 00    02 00 00 00    0D 00 00 00    FD FD FD FD     =....... ........
    41 50 50 44    41 54 41 3D    43 3A 5C 44    6F 63 75 6D     APPDATA= C:\Docum
    65 6E 74 73    20 61 6E 64    20 53 65 74    74 69 6E 67     ents.and .Setting
    73 5C 6B 63    6F 6D 61 6E    64 75 72 5C    41 70 70 6C     s\kcoman dur\Appl
    69 63 61 74    69 6F 6E 20    44 61 74 61    00 FD FD FD     ication. Data....
    FD                                                           ........ ........


---------- Block 14 at 0x00774230: 85 bytes ----------
  Call Stack:
    f:\dd\vctools\crt_bld\self_x86\crt\src\stdenvp.c (127): TestProgam.exe!_setenvp + 0x14 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (246): TestProgam.exe!__tmainCRTStartup + 0x5 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (182): TestProgam.exe!mainCRTStartup
    0x7C817077 (File and line number not available): kernel32.dll!RegisterWaitForInputIdle + 0x49 bytes
  Data:
    B0 41 77 00    A0 42 77 00    40 B8 63 00    7E 00 00 00     .Aw..Bw. @.c.~...
    31 00 00 00    02 00 00 00    0E 00 00 00    FD FD FD FD     1....... ........
    43 6F 6D 6D    6F 6E 50 72    6F 67 72 61    6D 46 69 6C     CommonPr ogramFil
    65 73 3D 43    3A 5C 50 72    6F 67 72 61    6D 20 46 69     es=C:\Pr ogram.Fi
    6C 65 73 5C    43 6F 6D 6D    6F 6E 20 46    69 6C 65 73     les\Comm on.Files
    00 FD FD FD    FD                                            ........ ........


---------- Block 15 at 0x007742A0: 61 bytes ----------
  Call Stack:
    f:\dd\vctools\crt_bld\self_x86\crt\src\stdenvp.c (127): TestProgam.exe!_setenvp + 0x14 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (246): TestProgam.exe!__tmainCRTStartup + 0x5 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (182): TestProgam.exe!mainCRTStartup
    0x7C817077 (File and line number not available): kernel32.dll!RegisterWaitForInputIdle + 0x49 bytes
  Data:
    30 42 77 00    F8 42 77 00    40 B8 63 00    7E 00 00 00     0Bw..Bw. @.c.~...
    19 00 00 00    02 00 00 00    0F 00 00 00    FD FD FD FD     ........ ........
    43 4F 4D 50    55 54 45 52    4E 41 4D 45    3D 41 43 45     COMPUTER NAME=ACE
    52 2D 43 52    41 49 47 56    00 FD FD FD    FD              R-CRAIGV ........


---------- Block 16 at 0x007742F8: 72 bytes ----------
  Call Stack:
    f:\dd\vctools\crt_bld\self_x86\crt\src\stdenvp.c (127): TestProgam.exe!_setenvp + 0x14 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (246): TestProgam.exe!__tmainCRTStartup + 0x5 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (182): TestProgam.exe!mainCRTStartup
    0x7C817077 (File and line number not available): kernel32.dll!RegisterWaitForInputIdle + 0x49 bytes
  Data:
    A0 42 77 00    58 43 77 00    40 B8 63 00    7E 00 00 00     .Bw.XCw. @.c.~...
    24 00 00 00    02 00 00 00    10 00 00 00    FD FD FD FD     $....... ........
    43 6F 6D 53    70 65 63 3D    43 3A 5C 57    49 4E 44 4F     ComSpec= C:\WINDO
    57 53 5C 73    79 73 74 65    6D 33 32 5C    63 6D 64 2E     WS\syste m32\cmd.
    65 78 65 00    FD FD FD FD                                   exe..... ........


---------- Block 17 at 0x00774358: 56 bytes ----------
  Call Stack:
    f:\dd\vctools\crt_bld\self_x86\crt\src\stdenvp.c (127): TestProgam.exe!_setenvp + 0x14 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (246): TestProgam.exe!__tmainCRTStartup + 0x5 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (182): TestProgam.exe!mainCRTStartup
    0x7C817077 (File and line number not available): kernel32.dll!RegisterWaitForInputIdle + 0x49 bytes
  Data:
    F8 42 77 00    A8 43 77 00    40 B8 63 00    7E 00 00 00     .Bw..Cw. @.c.~...
    14 00 00 00    02 00 00 00    11 00 00 00    FD FD FD FD     ........ ........
    46 50 5F 4E    4F 5F 48 4F    53 54 5F 43    48 45 43 4B     FP_NO_HO ST_CHECK
    3D 4E 4F 00    FD FD FD FD                                   =NO..... ........


---------- Block 18 at 0x007743A8: 49 bytes ----------
  Call Stack:
    f:\dd\vctools\crt_bld\self_x86\crt\src\stdenvp.c (127): TestProgam.exe!_setenvp + 0x14 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (246): TestProgam.exe!__tmainCRTStartup + 0x5 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (182): TestProgam.exe!mainCRTStartup
    0x7C817077 (File and line number not available): kernel32.dll!RegisterWaitForInputIdle + 0x49 bytes
  Data:
    58 43 77 00    F8 43 77 00    40 B8 63 00    7E 00 00 00     XCw..Cw. @.c.~...
    0D 00 00 00    02 00 00 00    12 00 00 00    FD FD FD FD     ........ ........
    48 4F 4D 45    44 52 49 56    45 3D 43 3A    00 FD FD FD     HOMEDRIV E=C:....
    FD                                                           ........ ........


---------- Block 19 at 0x007743F8: 79 bytes ----------
  Call Stack:
    f:\dd\vctools\crt_bld\self_x86\crt\src\stdenvp.c (127): TestProgam.exe!_setenvp + 0x14 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (246): TestProgam.exe!__tmainCRTStartup + 0x5 bytes
    f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (182): TestProgam.exe!mainCRTStartup
    0x7C817077 (File and line number not available): kernel32.dll!RegisterWaitForInputIdle + 0x49 bytes
  Data:
    A8 43 77 00    60 44 77 00    40 B8 63 00    7E 00 00 00     .Cw.`Dw. @.c.~...
    2B 00 00 00    02 00 00 00    13 00 00 00    FD FD FD FD     +....... ........
    48 4F 4D 45    50 41 54 48    3D 5C 44 6F    63 75 6D 65     HOMEPATH =\Docume
    6E 74 73 20    61 6E 64 20    53 65 74 74    69 6E 67 73     nts.and. Settings
    5C 6B 63 6F    6D 61 6E 64    75 72 00 FD    FD FD FD        \kcomand ur......

Visual Leak Detector detected 59 memory leaks (11085 bytes).
Largest number used: 98505 bytes.
Total allocations: 1280179 bytes.
Visual Leak Detector is now exiting.
The program '[2344] TestProgam.exe: Native' has exited with code 0 (0x0).