1
2All heap blocks were freed -- no leaks are possible
3
4LEAK SUMMARY:
5   definitely lost: 48 bytes in 3 blocks
6   indirectly lost: 32 bytes in 2 blocks
7     possibly lost: 0 bytes in 0 blocks
8   still reachable: 64 bytes in 4 blocks
9        suppressed: 96 bytes in 6 blocks
10Rerun with --leak-check=full to see details of leaked memory
11
12leaked:      80 bytes in  5 blocks
13dubious:      0 bytes in  0 blocks
14reachable:   64 bytes in  4 blocks
15suppressed:  96 bytes in  6 blocks
16
17HEAP SUMMARY:
18    in use at exit: 240 bytes in 15 blocks
19  total heap usage: 15 allocs, 0 frees, 240 bytes allocated
20
2116 bytes in 1 blocks are indirectly lost in loss record ... of ...
22   at 0x........: malloc (vg_replace_malloc.c:...)
23   by 0x........: mk (leak-cases.c:52)
24   by 0x........: f (leak-cases.c:76)
25   by 0x........: main (leak-cases.c:107)
26
2716 bytes in 1 blocks are indirectly lost in loss record ... of ...
28   at 0x........: malloc (vg_replace_malloc.c:...)
29   by 0x........: mk (leak-cases.c:52)
30   by 0x........: f (leak-cases.c:91)
31   by 0x........: main (leak-cases.c:107)
32
3316 bytes in 1 blocks are definitely lost in loss record ... of ...
34   at 0x........: malloc (vg_replace_malloc.c:...)
35   by 0x........: mk (leak-cases.c:52)
36   by 0x........: f (leak-cases.c:74)
37   by 0x........: main (leak-cases.c:107)
38
3932 (16 direct, 16 indirect) bytes in 1 blocks are definitely lost in loss record ... of ...
40   at 0x........: malloc (vg_replace_malloc.c:...)
41   by 0x........: mk (leak-cases.c:52)
42   by 0x........: f (leak-cases.c:76)
43   by 0x........: main (leak-cases.c:107)
44
4532 (16 direct, 16 indirect) bytes in 1 blocks are definitely lost in loss record ... of ...
46   at 0x........: malloc (vg_replace_malloc.c:...)
47   by 0x........: mk (leak-cases.c:52)
48   by 0x........: f (leak-cases.c:91)
49   by 0x........: main (leak-cases.c:107)
50
51LEAK SUMMARY:
52   definitely lost: 48 bytes in 3 blocks
53   indirectly lost: 32 bytes in 2 blocks
54     possibly lost: 0 bytes in 0 blocks
55   still reachable: 64 bytes in 4 blocks
56        suppressed: 96 bytes in 6 blocks
57Reachable blocks (those to which a pointer was found) are not shown.
58To see them, rerun with: --leak-check=full --show-leak-kinds=all
59
60For counts of detected and suppressed errors, rerun with: -v
61ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
62