==109727== Memcheck, a memory error detector
==109727== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==109727== Using Valgrind-3.14.0.GIT and LibVEX; rerun with -h for copyright info
==109727== Command: ./a.out
==109727== 
==109727== Invalid read of size 4
==109727==    at 0x400580: main (test.c:6)
==109727==  Address 0x5204068 is 24 bytes after a block of size 16 in arena "client"
==109727== 
==109727== Invalid read of size 4
==109727==    at 0x40058A: main (test.c:7)
==109727==  Address 0x520406c is 28 bytes after a block of size 16 in arena "client"
==109727== 
==109727== 
==109727== HEAP SUMMARY:
==109727==     in use at exit: 0 bytes in 0 blocks
==109727==   total heap usage: 1 allocs, 1 frees, 10 bytes allocated
==109727== 
==109727== All heap blocks were freed -- no leaks are possible
==109727== 
==109727== For counts of detected and suppressed errors, rerun with: -v
==109727== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)