diff options
Diffstat (limited to 'cpukit/posix')
-rw-r--r-- | cpukit/posix/src/keyfreememory.c | 3 | ||||
-rw-r--r-- | cpukit/posix/src/pthread.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/posix/src/keyfreememory.c b/cpukit/posix/src/keyfreememory.c index a103499b6a..b6449ffa21 100644 --- a/cpukit/posix/src/keyfreememory.c +++ b/cpukit/posix/src/keyfreememory.c @@ -25,6 +25,5 @@ void _POSIX_Keys_Free_memory( uint32_t the_api; for ( the_api = 1; the_api <= OBJECTS_APIS_LAST; the_api++ ) - if ( the_key->Values[ the_api ] ) - _Workspace_Free( the_key->Values[ the_api ] ); + _Workspace_Free( the_key->Values[ the_api ] ); } diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c index 06ce1fe168..3890144aa5 100644 --- a/cpukit/posix/src/pthread.c +++ b/cpukit/posix/src/pthread.c @@ -270,7 +270,7 @@ void _POSIX_Threads_Delete_extension( deleted->API_Extensions[ THREAD_API_POSIX ] = NULL; - (void) _Workspace_Free( api ); + _Workspace_Free( api ); } /* |