summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/mutexunlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/mutexunlock.c')
-rw-r--r--cpukit/posix/src/mutexunlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/mutexunlock.c b/cpukit/posix/src/mutexunlock.c
index cfe8bdbeeb..3804ec6c7e 100644
--- a/cpukit/posix/src/mutexunlock.c
+++ b/cpukit/posix/src/mutexunlock.c
@@ -54,7 +54,7 @@ int pthread_mutex_unlock(
the_mutex->Object.id,
NULL
);
- _Thread_Enable_dispatch();
+ _Objects_Put( &the_mutex->Object );
return _POSIX_Mutex_Translate_core_mutex_return_code( status );
#if defined(RTEMS_MULTIPROCESSING)