diff --git a/testing/ostest/sem.c b/testing/ostest/sem.c index a1107b20b..6a3bc1385 100644 --- a/testing/ostest/sem.c +++ b/testing/ostest/sem.c @@ -314,4 +314,6 @@ void sem_test(void) pthread_join(poster_thread, NULL); } #endif + + sem_destroy(&sem); }