diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-02-06 23:54:55 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-02-06 23:54:55 +0000 |
commit | 9184270ac4ab137526cf15627d925cafcd3b3a52 (patch) | |
tree | c600d43831b5893e9fea4806eec6a9522f26057b /cpukit/posix | |
parent | 2008-02-06 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-9184270ac4ab137526cf15627d925cafcd3b3a52.tar.bz2 |
2008-02-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/mqueueunlink.c, score/Makefile.am,
score/include/rtems/score/object.h,
score/inline/rtems/score/object.inl: Enhance
_Objects_Namespace_remove() to handle freeing object names which are
strings. All changed _Objects_Close() to call
_Objects_Namespace_remove(). The resulting code was then moved from
inline routines to function calls.
* score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
Diffstat (limited to 'cpukit/posix')
-rw-r--r-- | cpukit/posix/src/mqueueunlink.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/posix/src/mqueueunlink.c b/cpukit/posix/src/mqueueunlink.c index ff6aec86fe..3213fdbe0b 100644 --- a/cpukit/posix/src/mqueueunlink.c +++ b/cpukit/posix/src/mqueueunlink.c @@ -67,8 +67,6 @@ int mq_unlink( ); the_mq->linked = FALSE; - if ( the_mq->Object.name.name_p ) - _Workspace_Free( (void *)the_mq->Object.name.name_p ); _POSIX_Message_queue_Namespace_remove( the_mq ); _POSIX_Message_queue_Delete( the_mq ); |