summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/objectclose.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/objectclose.c')
-rw-r--r--cpukit/score/src/objectclose.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/src/objectclose.c b/cpukit/score/src/objectclose.c
index 52eb10c60b..25c7aa1a36 100644
--- a/cpukit/score/src/objectclose.c
+++ b/cpukit/score/src/objectclose.c
@@ -28,4 +28,6 @@ void _Objects_Close(
_Objects_Invalidate_Id( information, the_object );
_Objects_Namespace_remove( information, the_object );
+
+ _ISR_lock_Destroy( &the_object->Lock );
}