Fix memory leak on lookup failure
[openssl.git] / apps / s_client.c
index 975aa2fb447353a08250b37d9f016ed7d08a691c..4d2fa861a58c5d252bd84e24e5b44762920bb77d 100644 (file)
@@ -1889,8 +1889,7 @@ int s_client_main(int argc, char **argv)
             goto end;
         }
         /* By default the SNI should be the same as was set in the session */
-        if (!noservername && servername == NULL)
-        {
+        if (!noservername && servername == NULL) {
             const char *sni = SSL_SESSION_get0_hostname(sess);
 
             if (sni != NULL) {