diff options
author | Matt Caswell <matt@openssl.org> | 2016-04-26 18:33:03 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-06-01 14:51:36 +0100 |
commit | a3768e0c9b8b80fadcab06afed77a9d27ed1b6dd (patch) | |
tree | 5132c5eec9e9691e48e85f8b81410a36b21672e9 /apps | |
parent | 5bf7c7725b9cb44813dc78cf143c5c1d5aada02c (diff) |
Free a BIO_ADDR if DTLSv1_listen return <=0
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/s_server.c b/apps/s_server.c index c998fcdebc..dce02f036c 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -2481,6 +2481,8 @@ static int init_ssl_connection(SSL *con) BIO_ADDR_free(client); dtlslisten = 0; i = SSL_accept(con); + } else { + BIO_ADDR_free(client); } } else #endif |