]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Bindhost/bindport should be freed
authorDmitry Belyavskiy <beldmit@gmail.com>
Thu, 7 Oct 2021 17:14:50 +0000 (19:14 +0200)
committerDmitry Belyavskiy <beldmit@gmail.com>
Sat, 9 Oct 2021 08:34:14 +0000 (10:34 +0200)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16775)

(cherry picked from commit 0ce0c455862ed29bd7f2acdbddbe8d0b1783c1c9)

apps/s_client.c

index 83b3fc9c7f13d864821233a9d47d19e836221478..fe344877873593bde1526fd7f7a7f34043974cac 100644 (file)
@@ -3151,6 +3151,8 @@ int s_client_main(int argc, char **argv)
 #endif
     OPENSSL_free(connectstr);
     OPENSSL_free(bindstr);
+    OPENSSL_free(bindhost);
+    OPENSSL_free(bindport);
     OPENSSL_free(host);
     OPENSSL_free(port);
     X509_VERIFY_PARAM_free(vpm);