Hello
lh_mouse <lh_mo...@126.com> schrieb am 18:38 Donnerstag, 16.Januar 2014: > I got memory leaks in this code. Hope someone would help. > Minimal sample code attached. > Compiled with g++ test.cpp -std=c++11 -static, then attached with OllyDbg, bp > malloc, calloc, realloc, free. ThereĀ > were 2 or 3 blocks of memory that > were not freed upon termination. Are you sure it's because of exceptions? I think the argv[]-strings in main() are copied and never freed. Regards Domani Hannes ------------------------------------------------------------------------------ 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