2 Invalid alignment value
: 0 (should be non
-zero
, a power of
2 and a multiple of sizeof
(void
*))
3 at
0x........
: posix_memalign
(vg_replace_malloc.c
:...
)
4 by
0x........
: main
(errno_aligned_allocs.c
:14)
6 Invalid alignment value
: 2 (should be non
-zero
, a power of
2 and a multiple of sizeof
(void
*))
7 at
0x........
: posix_memalign
(vg_replace_malloc.c
:...
)
8 by
0x........
: main
(errno_aligned_allocs.c
:17)
10 Invalid alignment value
: 40 (should be non
-zero
, a power of
2 and a multiple of sizeof
(void
*))
11 at
0x........
: posix_memalign
(vg_replace_malloc.c
:...
)
12 by
0x........
: main
(errno_aligned_allocs.c
:20)
14 aligned_alloc
() invalid size value
: 0
15 at
0x........
: aligned_alloc
(vg_replace_malloc.c
:...
)
16 by
0x........
: main
(errno_aligned_allocs.c
:60)
18 Invalid size value
: 25 alignment value
: 8 (size should be a multiple of alignment
)
19 at
0x........
: aligned_alloc
(vg_replace_malloc.c
:...
)
20 by
0x........
: main
(errno_aligned_allocs.c
:68)
22 Invalid alignment value
: 40 (should be a power of
2)
23 at
0x........
: aligned_alloc
(vg_replace_malloc.c
:...
)
24 by
0x........
: main
(errno_aligned_allocs.c
:73)
28 in use at exit
: 0 bytes in
0 blocks
29 total heap usage
: 2 allocs
, 2 frees
, 25 bytes allocated
31 For a detailed leak analysis
, rerun with
: --leak
-check
=full
33 For lists of detected and suppressed errors
, rerun with
: -s
34 ERROR SUMMARY
: 6 errors from
6 contexts
(suppressed
: 0 from
0)