]> git.ipfire.org Git - thirdparty/openssl.git/commit - apps/s_client.c
Fix an s_client memory leak
authorMatt Caswell <matt@openssl.org>
Wed, 8 Nov 2017 13:22:59 +0000 (13:22 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 9 Nov 2017 17:01:18 +0000 (17:01 +0000)
commit44f19af7434cdb996f1ce11789150baa07db27e6
tree7bc0deaae29edd019fa4cdfd3448d5f6e20f55a8
parentb6705d4893d1566c3a5427e387ce99344497758d
Fix an s_client memory leak

We were using OPENSSL_strdup() unnecessarily and then failing to free it. There is
no reason to use OPENSSL_strdup() in this scenario - so just remove it.

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/4699)
apps/s_client.c