==17848== Memcheck, a memory error detector.
==17848== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==17848== Using LibVEX rev 1471, a library for dynamic binary translation.
==17848== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==17848== Using valgrind-3.1.0, a dynamic binary instrumentation framework.
==17848== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==17848== For more details, rerun with: -v
==17848==
Hello secondary thread, i is: 10
Hello main thread, i is: 1010
Hello main thread, i is: 3010
Hello secondary thread, i is: 3030
==17848==
==17848== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 13 from 1)
==17848== malloc/free: in use at exit: 68 bytes in 1 blocks.
==17848== malloc/free: 1 allocs, 0 frees, 68 bytes allocated.
==17848== For counts of detected errors, rerun with: -v
==17848== searching for pointers to 1 not-freed blocks.
==17848== checked 92,500 bytes.
==17848==
==17848== LEAK SUMMARY:
==17848== definitely lost: 68 bytes in 1 blocks.
==17848== possibly lost: 0 bytes in 0 blocks.
==17848== still reachable: 0 bytes in 0 blocks.
==17848== suppressed: 0 bytes in 0 blocks.
==17848== Use --leak-check=full to see details of leaked memory.
Partager