From 13d3b3d26c21fda75c15186e8a750db6a171135c Mon Sep 17 00:00:00 2001 From: hujun5 Date: Fri, 30 Jun 2023 17:41:04 +0800 Subject: [PATCH] ostest/rmutex: mutex need to be destroyed Signed-off-by: hujun5 --- testing/ostest/rmutex.c | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/ostest/rmutex.c b/testing/ostest/rmutex.c index d1b94466b..5ae872c94 100644 --- a/testing/ostest/rmutex.c +++ b/testing/ostest/rmutex.c @@ -207,4 +207,5 @@ void recursive_mutex_test(void) } printf("recursive_mutex_test: Complete\n"); + pthread_mutex_destroy(&mut); }