diff --git a/ssl/ssl_conf.c b/ssl/ssl_conf.c index d93f947eb144e1d94f88b3e92c3e08298391e283..5c320cbe792cf42bfdcb17827974ea3163d0a202 100644 --- a/ssl/ssl_conf.c +++ b/ssl/ssl_conf.c @@ -832,8 +832,8 @@ void SSL_CONF_CTX_free(SSL_CONF_CTX *cctx) for (i = 0; i < SSL_PKEY_NUM; i++) OPENSSL_free(cctx->cert_filename[i]); OPENSSL_free(cctx->prefix); - OPENSSL_free(cctx); sk_X509_NAME_pop_free(cctx->canames, X509_NAME_free); + OPENSSL_free(cctx); } }