1
0
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:
Manuel Pégourié-Gonnard
2013-09-13 13:45:58 +02:00
parent deb7949a22
commit 4fe9200f47
4 changed files with 28 additions and 0 deletions

View File

@ -295,6 +295,7 @@ static void *gcm_ctx_alloc( void )
static void gcm_ctx_free( void *ctx )
{
gcm_free( ctx );
polarssl_free( ctx );
}