diff options
Diffstat (limited to 'cpukit/score/src/objectidtoname.c')
-rw-r--r-- | cpukit/score/src/objectidtoname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/objectidtoname.c b/cpukit/score/src/objectidtoname.c index 1c0d926838..d3f05e3df4 100644 --- a/cpukit/score/src/objectidtoname.c +++ b/cpukit/score/src/objectidtoname.c @@ -63,6 +63,6 @@ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( return OBJECTS_INVALID_ID; *name = the_object->name; - _Thread_Enable_dispatch(); + _Objects_Put( the_object ); return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL; } |