avoid -Wfree-nonheap-object when buiding with gcc11

Signed-off-by: Shawn Carey <shawn.carey@netfoundry.io>
This commit is contained in:
Shawn Carey
2021-05-13 09:08:02 -04:00
parent f2fa6e54a7
commit 7b81dcf90f

View File

@@ -991,8 +991,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 );