1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
==6645== Memcheck, a memory error detector
==6645== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==6645== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==6645== Command: ./main
==6645==
==6645==
==6645== HEAP SUMMARY:
==6645== in use at exit: 39,059,316 bytes in 4,880,413 blocks
==6645== total heap usage: 24,553,018 allocs, 19,672,605 frees, 2,182,168,884 bytes allocated
==6645==
==6645== 836,088 bytes in 104,511 blocks are definitely lost in loss record 2 of 4
==6645== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==6645== by 0x4013D8: imersion (imersion.c:136)
==6645== by 0x4029FB: main (main.c:40)
==6645==
==6645== 15,293,328 bytes in 1,911,666 blocks are definitely lost in loss record 3 of 4
==6645== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==6645== by 0x400EDE: imersion (imersion.c:85)
==6645== by 0x4029FB: main (main.c:40)
==6645==
==6645== 22,913,880 bytes in 2,864,235 blocks are definitely lost in loss record 4 of 4
==6645== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==6645== by 0x4015A7: imersion (imersion.c:165)
==6645== by 0x4029FB: main (main.c:40)
==6645==
==6645== LEAK SUMMARY:
==6645== definitely lost: 39,043,296 bytes in 4,880,412 blocks
==6645== indirectly lost: 0 bytes in 0 blocks
==6645== possibly lost: 0 bytes in 0 blocks
==6645== still reachable: 16,020 bytes in 1 blocks
==6645== suppressed: 0 bytes in 0 blocks
==6645== Reachable blocks (those to which a pointer was found) are not shown.
==6645== To see them, rerun with: --leak-check=full --show-reachable=yes
==6645==
==6645== For counts of detected and suppressed errors, rerun with: -v
==6645== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 2 from 2)
Expiration de la minuterie durant l'établissement du profile |