mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Fix memory leak in GCM by adding gcm_free()
This commit is contained in:
@ -295,6 +295,7 @@ static void *gcm_ctx_alloc( void )
|
||||
|
||||
static void gcm_ctx_free( void *ctx )
|
||||
{
|
||||
gcm_free( ctx );
|
||||
polarssl_free( ctx );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user