From: Dr. Stephen Henson Date: Sat, 1 Oct 2016 14:16:59 +0000 (+0100) Subject: fix memory leak X-Git-Tag: OpenSSL_1_1_1-pre1~3411 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eb67172ae53da63a6ff5189dfde2af8f98309ce3;p=oweals%2Fopenssl.git fix memory leak Reviewed-by: Tim Hudson --- 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);