summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/objectnamespaceremove.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/objectnamespaceremove.c')
-rw-r--r--cpukit/score/src/objectnamespaceremove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/objectnamespaceremove.c b/cpukit/score/src/objectnamespaceremove.c
index 5e97a6c34a..d6c0968f90 100644
--- a/cpukit/score/src/objectnamespaceremove.c
+++ b/cpukit/score/src/objectnamespaceremove.c
@@ -26,7 +26,7 @@ void _Objects_Namespace_remove(
/*
* If this is a string format name, then free the memory.
*/
- if ( information->is_string && the_object->name.name_p )
+ if ( information->is_string )
_Workspace_Free( (void *)the_object->name.name_p );
#endif