aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/lockdep/tests/unlock_balance.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/lockdep/tests/unlock_balance.c')
-rw-r--r--tools/lib/lockdep/tests/unlock_balance.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/lib/lockdep/tests/unlock_balance.c b/tools/lib/lockdep/tests/unlock_balance.c
index 34cf32f689de..dba25064b50a 100644
--- a/tools/lib/lockdep/tests/unlock_balance.c
+++ b/tools/lib/lockdep/tests/unlock_balance.c
@@ -10,4 +10,6 @@ void main(void)
pthread_mutex_lock(&a);
pthread_mutex_unlock(&a);
pthread_mutex_unlock(&a);
+
+ pthread_mutex_destroy(&a);
}