No std::exception_ptr invoked, still there seems to be memory leaks.
Run make_test.cmd and you will get a.exe. Then run a.exe.
I got the following results:

thread 10256: malloc(8) = 00474730      // This leaked.
thread 10256: malloc(2) = 00474740
thread
thread 10820: malloc(100) = 004749C8
thread 10820: calloc(12) = 00474A38     // Ditto.
thread 10820: calloc(136) = 00474A50
thread 10820: malloc(12) = 00474AE0
thread 10820: free(004749C8)
thread 10820: free(00474AE0)
thread 10820: free(00474A50)
main
thread 10256: malloc(100) = 00474750
thread 10256: calloc(136) = 004747C0
thread 10256: malloc(12) = 00474850
thread 10256: free(00474750)
thread 10256: free(00474850)
thread 10256: free(004747C0)


Best regards.
2014-01-17
lh_mouse

Attachment: test.cpp
Description: Binary data

Attachment: mem.c
Description: Binary data

Attachment: make_test.cmd_
Description: Binary data

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to