ostest/sighand_test: sem need to be destroyed
Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
parent
23948824b2
commit
db767b6f45
@ -328,4 +328,6 @@ void sighand_test(void)
|
||||
|
||||
printf("sighand_test: done\n");
|
||||
FFLUSH();
|
||||
sem_destroy(&sem2);
|
||||
sem_destroy(&sem1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user