diff options
author | Richard Levitte <levitte@openssl.org> | 2016-07-19 15:20:00 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-07-19 15:26:40 +0200 |
commit | d6accd504046e243155082160dd1e650fc13ea76 (patch) | |
tree | 7467c472978d4d1a2e0bb90176bfd56444aba3e9 /apps | |
parent | df0aa7770e09677b746843f2ba33e2897f615d93 (diff) |
Fix forgotten goto
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index 4410f96603..bc89c984ac 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -1742,6 +1742,7 @@ int s_client_main(int argc, char **argv) if ((peer_info.addr = BIO_ADDR_new()) == NULL) { BIO_printf(bio_err, "memory allocation failure\n"); BIO_closesocket(s); + goto end; } if (!BIO_sock_info(s, BIO_SOCK_INFO_ADDRESS, &peer_info)) { BIO_printf(bio_err, "getsockname:errno=%d\n", |