1 2 All heap blocks were freed -- no leaks are possible 3 4 expecting no leaks 5 LEAK SUMMARY: 6 definitely lost: 0 bytes in 0 blocks 7 indirectly lost: 0 bytes in 0 blocks 8 possibly lost: 0 bytes in 0 blocks 9 still reachable: 41,000 bytes in 2 blocks 10 suppressed: 0 bytes in 0 blocks 11 Reachable blocks (those to which a pointer was found) are not shown. 12 To see them, rerun with: --leak-check=full --show-leak-kinds=all 13 14 expecting a leak 15 1,000 bytes in 1 blocks are definitely lost in loss record ... of ... 16 at 0x........: malloc (vg_replace_malloc.c:...) 17 by 0x........: f (leak-segv-jmp.c:199) 18 by 0x........: main (leak-segv-jmp.c:262) 19 20 LEAK SUMMARY: 21 definitely lost: 1,000 bytes in 1 blocks 22 indirectly lost: 0 bytes in 0 blocks 23 possibly lost: 0 bytes in 0 blocks 24 still reachable: 40,000 bytes in 1 blocks 25 suppressed: 0 bytes in 0 blocks 26 Reachable blocks (those to which a pointer was found) are not shown. 27 To see them, rerun with: --leak-check=full --show-leak-kinds=all 28 29 mprotect result 0 30 expecting a leak again 31 1,000 bytes in 1 blocks are definitely lost in loss record ... of ... 32 at 0x........: malloc (vg_replace_malloc.c:...) 33 by 0x........: f (leak-segv-jmp.c:199) 34 by 0x........: main (leak-segv-jmp.c:262) 35 36 LEAK SUMMARY: 37 definitely lost: 1,000 bytes in 1 blocks 38 indirectly lost: 0 bytes in 0 blocks 39 possibly lost: 0 bytes in 0 blocks 40 still reachable: 40,000 bytes in 1 blocks 41 suppressed: 0 bytes in 0 blocks 42 Reachable blocks (those to which a pointer was found) are not shown. 43 To see them, rerun with: --leak-check=full --show-leak-kinds=all 44 45 full mprotect result 0 46 expecting a leak again after full mprotect 47 1,000 bytes in 1 blocks are definitely lost in loss record ... of ... 48 at 0x........: malloc (vg_replace_malloc.c:...) 49 by 0x........: f (leak-segv-jmp.c:199) 50 by 0x........: main (leak-segv-jmp.c:262) 51 52 LEAK SUMMARY: 53 definitely lost: 1,000 bytes in 1 blocks 54 indirectly lost: 0 bytes in 0 blocks 55 possibly lost: 0 bytes in 0 blocks 56 still reachable: 40,000 bytes in 1 blocks 57 suppressed: 0 bytes in 0 blocks 58 Reachable blocks (those to which a pointer was found) are not shown. 59 To see them, rerun with: --leak-check=full --show-leak-kinds=all 60 61 finished 62 LEAK SUMMARY: 63 definitely lost: 1,000 bytes in 1 blocks 64 indirectly lost: 0 bytes in 0 blocks 65 possibly lost: 0 bytes in 0 blocks 66 still reachable: 40,000 bytes in 1 blocks 67 suppressed: 0 bytes in 0 blocks 68 Rerun with --leak-check=full to see details of leaked memory 69 70 leaked: 1000 bytes in 1 blocks 71 dubious: 0 bytes in 0 blocks 72 reachable: 40000 bytes in 1 blocks 73 suppressed: 0 bytes in 0 blocks 74 75 HEAP SUMMARY: 76 in use at exit: 41,000 bytes in 2 blocks 77 total heap usage: 2 allocs, 0 frees, 41,000 bytes allocated 78 79 For a detailed leak analysis, rerun with: --leak-check=full 80 81 For counts of detected and suppressed errors, rerun with: -v 82 ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) 83