Memcheck, a memory error detector Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info Command: ./test-custom-write json -U must -l must -x must HEAP SUMMARY: in use at exit: 0 bytes in 0 blocks total heap usage: 174 allocs, 174 frees, 24,250 bytes allocated All heap blocks were freed -- no leaks are possible For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)