From: Doug MacEachern Date: Thu, 28 Feb 2002 03:12:11 +0000 (+0000) Subject: need to free sc->pRevocationStore at shutdown X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7e3f22de9c4c9dc67c4f2f65f8a46001bf3d621;p=thirdparty%2Fapache%2Fhttpd.git need to free sc->pRevocationStore at shutdown git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@93623 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_init.c b/ssl_engine_init.c index ba00484cffa..9a37e4cf286 100644 --- a/ssl_engine_init.c +++ b/ssl_engine_init.c @@ -953,6 +953,10 @@ apr_status_t ssl_init_ModuleKill(void *data) */ for (; s != NULL; s = s->next) { sc = mySrvConfig(s); + if (sc->pRevocationStore != NULL) { + X509_STORE_free(sc->pRevocationStore); + sc->pRevocationStore = NULL; + } if (sc->pPublicCert[SSL_AIDX_RSA] != NULL) { X509_free(sc->pPublicCert[SSL_AIDX_RSA]); sc->pPublicCert[SSL_AIDX_RSA] = NULL;