From ef376e35d77b04d8108613f5d4cdbe06c9d66ebc Mon Sep 17 00:00:00 2001 From: Akshay Kumar Date: Mon, 6 Jan 2020 13:43:14 -0800 Subject: [PATCH] FullChainExperimental-01-200106-ssl_transport_security_test --- test/core/tsi/ssl_transport_security_test.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/core/tsi/ssl_transport_security_test.cc b/test/core/tsi/ssl_transport_security_test.cc index 3f85bb1e88d2d..37ad7025912be 100644 --- a/test/core/tsi/ssl_transport_security_test.cc +++ b/test/core/tsi/ssl_transport_security_test.cc @@ -883,7 +883,12 @@ void ssl_tsi_test_extract_cert_chain() { TSI_OK); GPR_ASSERT(memcmp(chain, chain_property.value.data, chain_property.value.length) == 0); + BIO_free(bio); gpr_free(chain); + gpr_free(cert); + gpr_free(ca); + tsi_peer_property_destruct(chain_property); + sk_X509_INFO_pop_free(inf, X509_INFO_free); } int main(int argc, char** argv) {