mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-07 17:26:32 +00:00
ostest: sem need to be destroyed
Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
parent
6b01cce1aa
commit
70a4010635
1 changed files with 2 additions and 0 deletions
|
|
@ -314,4 +314,6 @@ void sem_test(void)
|
|||
pthread_join(poster_thread, NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
sem_destroy(&sem);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue