]> granicus.if.org Git - apache/commitdiff
need to free sc->pRevocationStore at shutdown
authorDoug MacEachern <dougm@apache.org>
Thu, 28 Feb 2002 03:12:11 +0000 (03:12 +0000)
committerDoug MacEachern <dougm@apache.org>
Thu, 28 Feb 2002 03:12:11 +0000 (03:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93623 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_init.c

index ba00484cffa51925c0ff0dae1cc06e1d199e07f5..9a37e4cf2863d72668484759c9d8b9d34881cabf 100644 (file)
@@ -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;