diff --git a/src/ssl_ckch.c b/src/ssl_ckch.c index 0cbc984dc..90887c55b 100644 --- a/src/ssl_ckch.c +++ b/src/ssl_ckch.c @@ -4841,6 +4841,9 @@ out: /* freeing the content of a ckch_conf structure */ void ckch_conf_clean(struct ckch_conf *conf) { + if (!conf) + return; + free(conf->crt); free(conf->key); free(conf->ocsp);