fix memory leak
authorDr. Stephen Henson <steve@openssl.org>
Sat, 1 Oct 2016 14:16:59 +0000 (15:16 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 1 Oct 2016 14:16:59 +0000 (15:16 +0100)
Reviewed-by: Tim Hudson <tjh@openssl.org>
apps/s_client.c

index 10ea1f1..6ec792c 100644 (file)
@@ -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);