Static code scan issues seen in File: /tests/posix/semaphore/src/sem.c
Category: Error handling issues
Function: test_sema
Component: Tests
CID: 183031
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996