Ensure mutex test mutex gets free'd
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
9e25936241
commit
f25d831123
4 changed files with 27 additions and 2 deletions
|
@ -435,6 +435,9 @@ int test_hooks_failure_detected(void)
|
|||
|
||||
void test_hooks_free(void)
|
||||
{
|
||||
#if defined(MBEDTLS_TEST_MUTEX_USAGE)
|
||||
mbedtls_test_mutex_usage_end();
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* MBEDTLS_TEST_HOOKS */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue