From 769f7206bdc7ed19fb2841c42a730cb40496e398 Mon Sep 17 00:00:00 2001
From: Daniel Krueger <daniel.krueger@systec-electronic.com>
Date: Fri, 13 Mar 2015 12:54:16 +0000
Subject: [PATCH] Fix missing _Objects_Allocator_unlock in sem_unlink()
Signed-off-by: Daniel Krueger <daniel.krueger@systec-electronic.com>
---
cpukit/posix/src/semunlink.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/cpukit/posix/src/semunlink.c b/cpukit/posix/src/semunlink.c
index 40d5660..d5b6de7 100644
a
|
b
|
int sem_unlink( |
46 | 46 | status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id, &name_len ); |
47 | 47 | if ( status != 0 ) { |
48 | 48 | _Thread_Enable_dispatch(); |
| 49 | _Objects_Allocator_unlock(); |
49 | 50 | rtems_set_errno_and_return_minus_one( status ); |
50 | 51 | } |
51 | 52 | |