commit | fbccfedf9bb0840e6c2db54b66ac511b85a3f587 | [log] [tgz] |
---|---|---|
author | Matt Caswell <matt@openssl.org> | Tue May 29 15:59:25 2018 +0100 |
committer | Matt Caswell <matt@openssl.org> | Thu May 31 10:39:13 2018 +0100 |
tree | cca59b091ab61644132bb35aef0a83c771062685 | |
parent | 6712ba9323cd9dc550ae3cc258cb61b5b23dcd83 [diff] |
Free a variable on an error path Issue found by Coverity. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6373)
diff --git a/apps/s_server.c b/apps/s_server.c index b0d38e4..df2bf02 100644 --- a/apps/s_server.c +++ b/apps/s_server.c
@@ -212,6 +212,7 @@ cipher = SSL_CIPHER_find(ssl, tls13_aes128gcmsha256_id); if (cipher == NULL) { BIO_printf(bio_err, "Error finding suitable ciphersuite\n"); + OPENSSL_free(key); return 0; }