diff --git a/iocore/net/TLSSessionResumptionSupport.cc b/iocore/net/TLSSessionResumptionSupport.cc index e8e981e7639..31575c5ed7a 100644 --- a/iocore/net/TLSSessionResumptionSupport.cc +++ b/iocore/net/TLSSessionResumptionSupport.cc @@ -160,6 +160,7 @@ TLSSessionResumptionSupport::getSession(SSL *ssl, const unsigned char *id, int l #if 0 // This is currently eliminated, since it breaks things in odd ways (see TS-3710) ssl_rm_cached_session(SSL_get_SSL_CTX(ssl), session); #endif + SSL_SESSION_free(session); session = nullptr; } else { SSL_INCREMENT_DYN_STAT(ssl_session_cache_hit);