summaryrefslogtreecommitdiff
path: root/TAO/tests/RTCORBA
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/RTCORBA')
-rw-r--r--TAO/tests/RTCORBA/RTMutex/server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/TAO/tests/RTCORBA/RTMutex/server.cpp b/TAO/tests/RTCORBA/RTMutex/server.cpp
index 12964d835bc..a232f56b1af 100644
--- a/TAO/tests/RTCORBA/RTMutex/server.cpp
+++ b/TAO/tests/RTCORBA/RTMutex/server.cpp
@@ -485,6 +485,8 @@ test_mutex_try_lock (RTCORBA::RTORB_ptr rt_orb)
// Wait for the threads to exit.
ACE_Thread_Manager::instance ()->wait ();
+ mutex->unlock ();
+
CORBA::release (mutex);
}