mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 05:46:41 +01:00
Fix missing free() with recent ssl_server2 options
This commit is contained in:
parent
66d5d076f7
commit
4505ed3c90
1 changed files with 6 additions and 0 deletions
|
|
@ -1637,6 +1637,12 @@ exit:
|
||||||
#if defined(POLARSSL_SNI)
|
#if defined(POLARSSL_SNI)
|
||||||
sni_free( sni_info );
|
sni_free( sni_info );
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(POLARSSL_KEY_EXCHANGE__SOME__PSK_ENABLED)
|
||||||
|
psk_free( psk_info );
|
||||||
|
#endif
|
||||||
|
#if defined(POLARSSL_DHM_C) && defined(POLARSSL_FS_IO)
|
||||||
|
dhm_free( &dhm );
|
||||||
|
#endif
|
||||||
|
|
||||||
ssl_free( &ssl );
|
ssl_free( &ssl );
|
||||||
entropy_free( &entropy );
|
entropy_free( &entropy );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue