mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 15:55:32 +00:00
Fix memory leak in ssl cipher usage
This commit is contained in:
parent
3ebb2cdb52
commit
f71e587c5e
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue