Commit a3768e0c authored by Matt Caswell's avatar Matt Caswell
Browse files

Free a BIO_ADDR if DTLSv1_listen return <=0

parent 5bf7c772
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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