mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-05 12:13:03 +00:00
Merge remote-tracking branch 'public/pr/1145' into development
* public/pr/1145: Address PR review comments Fix crash when calling `mbedtls_ssl_cache_free` twice
This commit is contained in:
@@ -321,6 +321,7 @@ void mbedtls_ssl_cache_free( mbedtls_ssl_cache_context *cache )
|
||||
#if defined(MBEDTLS_THREADING_C)
|
||||
mbedtls_mutex_free( &cache->mutex );
|
||||
#endif
|
||||
cache->chain = NULL;
|
||||
}
|
||||
|
||||
#endif /* MBEDTLS_SSL_CACHE_C */
|
||||
|
||||
Reference in New Issue
Block a user