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 1f3495f..c5b9a3e 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.reneg_ciphers);
 }
 
 static void ssl_test_ctx_free_extra_data(SSL_TEST_CTX *ctx)