From a0323a9f8f673f2b4d7a70e2019fa47d3df76d96 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 16 Feb 2011 00:24:49 +0000 Subject: 2011-02-15 Joel Sherrill * libmisc/capture/capture.c, posix/src/keyfreememory.c, posix/src/pthread.c, score/include/rtems/score/wkspace.h, score/src/objectextendinformation.c, score/src/objectnamespaceremove.c, score/src/objectsetname.c, score/src/threadclose.c, score/src/threadinitialize.c, score/src/wkspace.c: Many places were checking for a NULL pointer before calling _Workspace_Free. By moving the check into _Workspace_Free, we eliminate a number of conditional paths and make it harder to return a NULL pointer. --- cpukit/ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'cpukit/ChangeLog') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 854e67afc6..3d6ececd94 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,15 @@ +2011-02-15 Joel Sherrill + + * libmisc/capture/capture.c, posix/src/keyfreememory.c, + posix/src/pthread.c, score/include/rtems/score/wkspace.h, + score/src/objectextendinformation.c, + score/src/objectnamespaceremove.c, score/src/objectsetname.c, + score/src/threadclose.c, score/src/threadinitialize.c, + score/src/wkspace.c: Many places were checking for a NULL pointer + before calling _Workspace_Free. By moving the check into + _Workspace_Free, we eliminate a number of conditional paths and make + it harder to return a NULL pointer. + 2011-02-14 Joel Sherrill * rtems/src/semtranslatereturncode.c, -- cgit v1.2.3