mirror of
https://github.com/apache/httpd.git
synced 2025-08-01 07:26:57 +03:00
need to free sc->pRevocationStore at shutdown
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93623 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -953,6 +953,10 @@ apr_status_t ssl_init_ModuleKill(void *data)
|
|||||||
*/
|
*/
|
||||||
for (; s != NULL; s = s->next) {
|
for (; s != NULL; s = s->next) {
|
||||||
sc = mySrvConfig(s);
|
sc = mySrvConfig(s);
|
||||||
|
if (sc->pRevocationStore != NULL) {
|
||||||
|
X509_STORE_free(sc->pRevocationStore);
|
||||||
|
sc->pRevocationStore = NULL;
|
||||||
|
}
|
||||||
if (sc->pPublicCert[SSL_AIDX_RSA] != NULL) {
|
if (sc->pPublicCert[SSL_AIDX_RSA] != NULL) {
|
||||||
X509_free(sc->pPublicCert[SSL_AIDX_RSA]);
|
X509_free(sc->pPublicCert[SSL_AIDX_RSA]);
|
||||||
sc->pPublicCert[SSL_AIDX_RSA] = NULL;
|
sc->pPublicCert[SSL_AIDX_RSA] = NULL;
|
||||||
|
Reference in New Issue
Block a user