diff options
Diffstat (limited to 'tools/lib/lockdep/tests/ABBA.c')
-rw-r--r-- | tools/lib/lockdep/tests/ABBA.c | 3 |
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) | |||
11 | 11 | ||
12 | LOCK_UNLOCK_2(a, b); | 12 | LOCK_UNLOCK_2(a, b); |
13 | LOCK_UNLOCK_2(b, a); | 13 | LOCK_UNLOCK_2(b, a); |
14 | |||
15 | pthread_mutex_destroy(&b); | ||
16 | pthread_mutex_destroy(&a); | ||
14 | } | 17 | } |