mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-05 16:37:24 +00:00
avoid -Wfree-nonheap-object when buiding with gcc11
Signed-off-by: Shawn Carey <[email protected]>
This commit is contained in:
@@ -991,8 +991,8 @@ exit:
|
|||||||
|
|
||||||
for( delay_idx = 0; delay_idx < MAX_DELAYED_HS; delay_idx++ )
|
for( delay_idx = 0; delay_idx < MAX_DELAYED_HS; delay_idx++ )
|
||||||
{
|
{
|
||||||
mbedtls_free( opt.delay_cli + delay_idx );
|
mbedtls_free( opt.delay_cli[delay_idx] );
|
||||||
mbedtls_free( opt.delay_srv + delay_idx );
|
mbedtls_free( opt.delay_srv[delay_idx] );
|
||||||
}
|
}
|
||||||
|
|
||||||
mbedtls_net_free( &client_fd );
|
mbedtls_net_free( &client_fd );
|
||||||
|
|||||||
Reference in New Issue
Block a user