Fix missing free() with recent ssl_server2 options

This commit is contained in:
Manuel Pégourié-Gonnard 2014-06-19 20:56:52 +02:00
parent 66d5d076f7
commit 4505ed3c90

View file

@ -1637,6 +1637,12 @@ exit:
#if defined(POLARSSL_SNI)
sni_free( sni_info );
#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 );
entropy_free( &entropy );