aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/lockdep/tests/ABCDBDDA.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/lockdep/tests/ABCDBDDA.c')
-rw-r--r--tools/lib/lockdep/tests/ABCDBDDA.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/lib/lockdep/tests/ABCDBDDA.c b/tools/lib/lockdep/tests/ABCDBDDA.c
index 238a3353f3c3..3c5972863049 100644
--- a/tools/lib/lockdep/tests/ABCDBDDA.c
+++ b/tools/lib/lockdep/tests/ABCDBDDA.c
@@ -15,4 +15,9 @@ void main(void)
LOCK_UNLOCK_2(c, d);
LOCK_UNLOCK_2(b, d);
LOCK_UNLOCK_2(d, a);
+
+ pthread_mutex_destroy(&d);
+ pthread_mutex_destroy(&c);
+ pthread_mutex_destroy(&b);
+ pthread_mutex_destroy(&a);
}