Fix memory leak in ssl cipher usage

This commit is contained in:
Manuel Pégourié-Gonnard 2013-09-23 17:12:43 +02:00
parent 3ebb2cdb52
commit f71e587c5e

View File

@ -4127,6 +4127,9 @@ void ssl_transform_free( ssl_transform *transform )
inflateEnd( &transform->ctx_inflate );
#endif
cipher_free_ctx( &transform->cipher_ctx_enc );
cipher_free_ctx( &transform->cipher_ctx_dec );
md_free_ctx( &transform->md_ctx_enc );
md_free_ctx( &transform->md_ctx_dec );