diff --git a/programs/ssl/ssl_client2.c b/programs/ssl/ssl_client2.c index 4269420e4..f6bdc567d 100644 --- a/programs/ssl/ssl_client2.c +++ b/programs/ssl/ssl_client2.c @@ -589,7 +589,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 c9e2fbb9e..2cd00fa39 100644 --- a/programs/ssl/ssl_server2.c +++ b/programs/ssl/ssl_server2.c @@ -721,7 +721,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 );