From 6091926d83d304001d8472b05723cb3e8fedccc9 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 d1b94466b1..5ae872c94c 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); }