summaryrefslogtreecommitdiffstats
path: root/tools/lib/lockdep/tests/ABBA.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/lockdep/tests/ABBA.c')
-rw-r--r--tools/lib/lockdep/tests/ABBA.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lib/lockdep/tests/ABBA.c b/tools/lib/lockdep/tests/ABBA.c
index 1460afd33d71..623313f54720 100644
--- a/tools/lib/lockdep/tests/ABBA.c
+++ b/tools/lib/lockdep/tests/ABBA.c
@@ -11,4 +11,7 @@ void main(void)
LOCK_UNLOCK_2(a, b);
LOCK_UNLOCK_2(b, a);
+
+ pthread_mutex_destroy(&b);
+ pthread_mutex_destroy(&a);
}
OpenPOWER on IntegriCloud