diff options
Diffstat (limited to 'tools/lib/lockdep/tests/ABCABC.c')
-rw-r--r-- | tools/lib/lockdep/tests/ABCABC.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/lib/lockdep/tests/ABCABC.c b/tools/lib/lockdep/tests/ABCABC.c index b54a08e60416..a1c4659894cd 100644 --- a/tools/lib/lockdep/tests/ABCABC.c +++ b/tools/lib/lockdep/tests/ABCABC.c | |||
@@ -13,4 +13,8 @@ void main(void) | |||
13 | LOCK_UNLOCK_2(a, b); | 13 | LOCK_UNLOCK_2(a, b); |
14 | LOCK_UNLOCK_2(c, a); | 14 | LOCK_UNLOCK_2(c, a); |
15 | LOCK_UNLOCK_2(b, c); | 15 | LOCK_UNLOCK_2(b, c); |
16 | |||
17 | pthread_mutex_destroy(&c); | ||
18 | pthread_mutex_destroy(&b); | ||
19 | pthread_mutex_destroy(&a); | ||
16 | } | 20 | } |