This is an automated email from the ASF dual-hosted git repository. bcall pushed a commit to branch 9.1.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 1bba35f911c1006baa27ae7b8af648a523110cf8 Author: Randall Meyer <r...@apache.org> AuthorDate: Thu May 5 11:47:16 2022 -0700 Fixes leak of ssl_ocsp_response_path_only on reload (#8822) (cherry picked from commit 18c54049cc567d5ea4c92a93ce299fc2d0ecf454) --- iocore/net/SSLConfig.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iocore/net/SSLConfig.cc b/iocore/net/SSLConfig.cc index 24daee5b6..73deefef2 100644 --- a/iocore/net/SSLConfig.cc +++ b/iocore/net/SSLConfig.cc @@ -103,6 +103,7 @@ SSLConfigParams::reset() serverCertPathOnly = serverCertChainFilename = configFilePath = serverCACertFilename = serverCACertPath = clientCertPath = clientKeyPath = clientCACertFilename = clientCACertPath = cipherSuite = client_cipherSuite = dhparamsFile = serverKeyPathOnly = clientKeyPathOnly = clientCertPathOnly = nullptr; + ssl_ocsp_response_path_only = nullptr; server_tls13_cipher_suites = nullptr; client_tls13_cipher_suites = nullptr; server_groups_list = nullptr; @@ -141,6 +142,8 @@ SSLConfigParams::cleanup() client_cipherSuite = static_cast<char *>(ats_free_null(client_cipherSuite)); dhparamsFile = static_cast<char *>(ats_free_null(dhparamsFile)); + ssl_ocsp_response_path_only = static_cast<char *>(ats_free_null(ssl_ocsp_response_path_only)); + server_tls13_cipher_suites = static_cast<char *>(ats_free_null(server_tls13_cipher_suites)); client_tls13_cipher_suites = static_cast<char *>(ats_free_null(client_tls13_cipher_suites)); server_groups_list = static_cast<char *>(ats_free_null(server_groups_list));