diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 52eaadb773..971f347a31 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2010-01-19 Joel Sherrill + + Coverity Id 18 + * libmisc/shell/fts.c: Add free(parent) to correct leak. + 2010-01-19 Joel Sherrill Coverity Id 24 diff --git a/cpukit/libmisc/shell/fts.c b/cpukit/libmisc/shell/fts.c index 1383e07798..652258c63a 100644 --- a/cpukit/libmisc/shell/fts.c +++ b/cpukit/libmisc/shell/fts.c @@ -204,7 +204,7 @@ fts_open( SET(FTS_NOCHDIR); } } - + free(parent); return (sp); mem3: fts_lfree(root);