diff --git a/sources/config.c b/sources/config.c index b763a18be..df5b1eb43 100644 --- a/sources/config.c +++ b/sources/config.c @@ -109,6 +109,7 @@ od_config_listen_t *od_config_listen_add(od_config_t *config) listen->tls_opts = od_tls_opts_alloc(); if (listen->tls_opts == NULL) { + free(listen); return NULL; }