Merge pull request #6434 from gilles-peskine-arm/lmots_import_export_test-memory_leak

LMS: Fix memory leak if unit test fails
This commit is contained in:
Gilles Peskine 2022-10-17 17:57:59 +02:00 committed by GitHub
commit 47da7bfac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,6 +193,7 @@ void lmots_import_export_test ( data_t * pub_key, int expected_import_rc )
exit:
mbedtls_lmots_public_free( &ctx );
mbedtls_free( exported_pub_key );
}
/* END_CASE */