diff options
author | Daniel Krueger <daniel.krueger@systec-electronic.com> | 2015-03-13 12:54:16 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-04-14 12:12:40 -0500 |
commit | 5049dca6c5dfdac12daadbf07385dc3ab006b51e (patch) | |
tree | 09021d33478a6d9cf52e1675683cc1de88d814fb /cpukit/posix/src/semunlink.c | |
parent | Add test assertion for allocator mutex being unlocked (diff) | |
download | rtems-5049dca6c5dfdac12daadbf07385dc3ab006b51e.tar.bz2 |
semunlink.c: Add missing _Objects_Allocator_unlock()
updates 2319.
Signed-off-by: Daniel Krueger <daniel.krueger@systec-electronic.com>
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/semunlink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/posix/src/semunlink.c b/cpukit/posix/src/semunlink.c index 40d5660350..d5b6de7d20 100644 --- a/cpukit/posix/src/semunlink.c +++ b/cpukit/posix/src/semunlink.c @@ -46,6 +46,7 @@ int sem_unlink( status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id, &name_len ); if ( status != 0 ) { _Thread_Enable_dispatch(); + _Objects_Allocator_unlock(); rtems_set_errno_and_return_minus_one( status ); } |