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:20:14 +0000 (17:20 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2650)
(cherry picked from commit d605fc3a0ce4103ca6660904795bf1209cdb55b7)

test/ssl_test_ctx.c

index c21decf522534a01355dace485e6adfa0c3de1a8..28ee5c701b02fcd1f537f5f66201d6c0a807d886 100644 (file)
@@ -507,6 +507,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.reneg_ciphers);
 }
 
 static void ssl_test_ctx_free_extra_data(SSL_TEST_CTX *ctx)