mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
avoid "maybe-uninitialized" and "free-nonheap-object" errors/warnings with gcc11
Signed-off-by: Shawn Carey <shawn.carey@netfoundry.io>
This commit is contained in:
@ -1005,8 +1005,8 @@ exit:
|
||||
|
||||
for( delay_idx = 0; delay_idx < MAX_DELAYED_HS; delay_idx++ )
|
||||
{
|
||||
mbedtls_free( opt.delay_cli + delay_idx );
|
||||
mbedtls_free( opt.delay_srv + delay_idx );
|
||||
mbedtls_free( opt.delay_cli[delay_idx] );
|
||||
mbedtls_free( opt.delay_srv[delay_idx] );
|
||||
}
|
||||
|
||||
mbedtls_net_free( &client_fd );
|
||||
|
Reference in New Issue
Block a user