Fixed memory leak in benchmark application

This commit is contained in:
Paul Bakker 2013-12-16 16:43:10 +01:00
parent 77e257e958
commit f70fe81a6e
2 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,7 @@ Bugfix
* Missing defines / cases for RSA_PSK key exchange * Missing defines / cases for RSA_PSK key exchange
* crypt_and_hash app checks MAC before final decryption * crypt_and_hash app checks MAC before final decryption
* Potential memory leak in ssl_ticket_keys_init() * Potential memory leak in ssl_ticket_keys_init()
* Memory leak in benchmark application
= PolarSSL 1.3.2 released on 2013-11-04 = PolarSSL 1.3.2 released on 2013-11-04
Features Features

View File

@ -298,6 +298,8 @@ int main( int argc, char *argv[] )
TIME_AND_TSC( title, TIME_AND_TSC( title,
gcm_crypt_and_tag( &gcm, GCM_ENCRYPT, BUFSIZE, tmp, gcm_crypt_and_tag( &gcm, GCM_ENCRYPT, BUFSIZE, tmp,
12, NULL, 0, buf, buf, 16, tmp ) ); 12, NULL, 0, buf, buf, 16, tmp ) );
gcm_free( &gcm );
} }
} }
#endif #endif