Fix a mem leak in ssl_test_ctx.c
authorMatt Caswell <matt@openssl.org>
Thu, 16 Feb 2017 14:47:26 +0000 (14:47 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 16 Feb 2017 17:14:57 +0000 (17:14 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2650)

test/ssl_test_ctx.c

index 1f3495fa5cec48566e0b977d6ad07ef3af7f8a8f..c5b9a3ebe69eb4037cd68749ad5b80fd7495a788 100644 (file)
@@ -585,6 +585,7 @@ static void ssl_test_extra_conf_free_data(SSL_TEST_EXTRA_CONF *conf)
     OPENSSL_free(conf->client.alpn_protocols);
     OPENSSL_free(conf->server.alpn_protocols);
     OPENSSL_free(conf->server2.alpn_protocols);
     OPENSSL_free(conf->client.alpn_protocols);
     OPENSSL_free(conf->server.alpn_protocols);
     OPENSSL_free(conf->server2.alpn_protocols);
+    OPENSSL_free(conf->client.reneg_ciphers);
 }
 
 static void ssl_test_ctx_free_extra_data(SSL_TEST_CTX *ctx)
 }
 
 static void ssl_test_ctx_free_extra_data(SSL_TEST_CTX *ctx)