diff --git a/ChangeLog b/ChangeLog index 939024307..6c0a5c5a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22,6 +22,7 @@ Bugfix * Missing defines / cases for RSA_PSK key exchange * crypt_and_hash app checks MAC before final decryption * Potential memory leak in ssl_ticket_keys_init() + * Memory leak in benchmark application = PolarSSL 1.3.2 released on 2013-11-04 Features diff --git a/programs/test/benchmark.c b/programs/test/benchmark.c index 34219c5f3..f91a2d412 100644 --- a/programs/test/benchmark.c +++ b/programs/test/benchmark.c @@ -298,6 +298,8 @@ int main( int argc, char *argv[] ) TIME_AND_TSC( title, gcm_crypt_and_tag( &gcm, GCM_ENCRYPT, BUFSIZE, tmp, 12, NULL, 0, buf, buf, 16, tmp ) ); + + gcm_free( &gcm ); } } #endif