From eb67172ae53da63a6ff5189dfde2af8f98309ce3 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sat, 1 Oct 2016 15:16:59 +0100 Subject: [PATCH] fix memory leak Reviewed-by: Tim Hudson --- apps/s_client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/s_client.c b/apps/s_client.c index 10ea1f1167..6ec792cee1 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -2474,6 +2474,7 @@ int s_client_main(int argc, char **argv) #ifndef OPENSSL_NO_SRP OPENSSL_free(srp_arg.srppassin); #endif + OPENSSL_free(connectstr); OPENSSL_free(host); OPENSSL_free(port); X509_VERIFY_PARAM_free(vpm); -- 2.25.1