2 All heap blocks were freed
-- no leaks are possible
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
10 Rerun with
--leak
-check
=full to see details of leaked memory
12 leaked
: 80 bytes in
5 blocks
13 dubious
: 0 bytes in
0 blocks
14 reachable
: 64 bytes in
4 blocks
15 suppressed
: 96 bytes in
6 blocks
18 in use at exit
: 240 bytes in
15 blocks
19 total heap usage
: 15 allocs
, 0 frees
, 240 bytes allocated
21 16 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)
27 16 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)
33 16 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)
39 32 (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)
45 32 (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)
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
57 Reachable blocks
(those to which a pointer was found
) are not shown.
58 To see them
, rerun with
: --leak
-check
=full
--show-leak
-kinds
=all
60 For lists of detected and suppressed errors
, rerun with
: -s
61 ERROR SUMMARY
: 3 errors from
3 contexts
(suppressed
: 0 from
0)