aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/lockdep/tests/ABCDBCDA.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/lockdep/tests/ABCDBCDA.c')
-rw-r--r--tools/lib/lockdep/tests/ABCDBCDA.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/lib/lockdep/tests/ABCDBCDA.c b/tools/lib/lockdep/tests/ABCDBCDA.c
index a56742250d86..335af1c90ab5 100644
--- a/tools/lib/lockdep/tests/ABCDBCDA.c
+++ b/tools/lib/lockdep/tests/ABCDBCDA.c
@@ -15,4 +15,9 @@ void main(void)
15 LOCK_UNLOCK_2(c, d); 15 LOCK_UNLOCK_2(c, d);
16 LOCK_UNLOCK_2(b, c); 16 LOCK_UNLOCK_2(b, c);
17 LOCK_UNLOCK_2(d, a); 17 LOCK_UNLOCK_2(d, a);
18
19 pthread_mutex_destroy(&d);
20 pthread_mutex_destroy(&c);
21 pthread_mutex_destroy(&b);
22 pthread_mutex_destroy(&a);
18} 23}