ostest: sem need to be destroyed

Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
hujun5 2023-05-11 21:38:27 +08:00 committed by Xiang Xiao
parent 6b01cce1aa
commit 70a4010635

View File

@ -314,4 +314,6 @@ void sem_test(void)
pthread_join(poster_thread, NULL);
}
#endif
sem_destroy(&sem);
}