==7543== Memcheck, a memory error detector ==7543== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==7543== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info ==7543== Command: ./minimal_example 8080 ==7543== GnuTLS failed to setup x509 certificate/key: The requested data were not available. Failed to initialize TLS support ==7543== ==7543== HEAP SUMMARY: ==7543== in use at exit: 6,336 bytes in 3 blocks ==7543== total heap usage: 1,261 allocs, 1,258 frees, 114,632 bytes allocated ==7543== ==7543== 72 bytes in 1 blocks are indirectly lost in loss record 1 of 3 ==7543== at 0x4837B65: calloc (vg_replace_malloc.c:752) ==7543== by 0x4B16ED4: gnutls_x509_trust_list_init (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.23.0) ==7543== by 0x4A92979: gnutls_certificate_allocate_credentials (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.23.0) ==7543== by 0x4864BCB: MHD_TLS_init (daemon.c:602) ==7543== by 0x4864BCB: MHD_start_daemon_va (daemon.c:6165) ==7543== by 0x486538A: MHD_start_daemon (daemon.c:4674) ==7543== by 0x10932B: main (minimal_example.c:133) ==7543== ==7543== 6,096 bytes in 1 blocks are indirectly lost in loss record 2 of 3 ==7543== at 0x4837B65: calloc (vg_replace_malloc.c:752) ==7543== by 0x4B16EF5: gnutls_x509_trust_list_init (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.23.0) ==7543== by 0x4A92979: gnutls_certificate_allocate_credentials (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.23.0) ==7543== by 0x4864BCB: MHD_TLS_init (daemon.c:602) ==7543== by 0x4864BCB: MHD_start_daemon_va (daemon.c:6165) ==7543== by 0x486538A: MHD_start_daemon (daemon.c:4674) ==7543== by 0x10932B: main (minimal_example.c:133) ==7543== ==7543== 6,336 (168 direct, 6,168 indirect) bytes in 1 blocks are definitely lost in loss record 3 of 3 ==7543== at 0x4837B65: calloc (vg_replace_malloc.c:752) ==7543== by 0x4A92966: gnutls_certificate_allocate_credentials (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.23.0) ==7543== by 0x4864BCB: MHD_TLS_init (daemon.c:602) ==7543== by 0x4864BCB: MHD_start_daemon_va (daemon.c:6165) ==7543== by 0x486538A: MHD_start_daemon (daemon.c:4674) ==7543== by 0x10932B: main (minimal_example.c:133) ==7543== ==7543== LEAK SUMMARY: ==7543== definitely lost: 168 bytes in 1 blocks ==7543== indirectly lost: 6,168 bytes in 2 blocks ==7543== possibly lost: 0 bytes in 0 blocks ==7543== still reachable: 0 bytes in 0 blocks ==7543== suppressed: 0 bytes in 0 blocks ==7543== ==7543== For counts of detected and suppressed errors, rerun with: -v ==7543== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)