mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Fix memory leak in GCM by adding gcm_free()
This commit is contained in:
parent
deb7949a22
commit
4fe9200f47
4 changed files with 28 additions and 0 deletions
|
|
@ -295,6 +295,7 @@ static void *gcm_ctx_alloc( void )
|
|||
|
||||
static void gcm_ctx_free( void *ctx )
|
||||
{
|
||||
gcm_free( ctx );
|
||||
polarssl_free( ctx );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue