diff options
Diffstat (limited to 'tools/lib/lockdep/tests/ABBCCDDA.c')
-rw-r--r-- | tools/lib/lockdep/tests/ABBCCDDA.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/lib/lockdep/tests/ABBCCDDA.c b/tools/lib/lockdep/tests/ABBCCDDA.c index aa5d194e8869..3570bf7b3804 100644 --- a/tools/lib/lockdep/tests/ABBCCDDA.c +++ b/tools/lib/lockdep/tests/ABBCCDDA.c | |||
@@ -15,4 +15,9 @@ void main(void) | |||
15 | LOCK_UNLOCK_2(b, c); | 15 | LOCK_UNLOCK_2(b, c); |
16 | LOCK_UNLOCK_2(c, d); | 16 | LOCK_UNLOCK_2(c, d); |
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 | } |