diff --git a/programs/ssl/ssl_client2.c b/programs/ssl/ssl_client2.c index c37f4b0cf..671e54a3a 100644 --- a/programs/ssl/ssl_client2.c +++ b/programs/ssl/ssl_client2.c @@ -713,7 +713,6 @@ static int ssl_check_record( mbedtls_ssl_context const *ssl, /* Regardless of the outcome, forward the record to the stack. */ } -exit: mbedtls_free( tmp_buf ); return( 0 ); diff --git a/programs/ssl/ssl_server2.c b/programs/ssl/ssl_server2.c index a796f5712..5a7b2730c 100644 --- a/programs/ssl/ssl_server2.c +++ b/programs/ssl/ssl_server2.c @@ -825,7 +825,6 @@ static int ssl_check_record( mbedtls_ssl_context const *ssl, /* Regardless of the outcome, forward the record to the stack. */ } -exit: mbedtls_free( tmp_buf ); return( 0 );