diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-01-19 23:01:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-01-19 23:01:36 +0000 |
commit | e4d7016c1a0066f729a84ffaeb8b03a1b913a9a4 (patch) | |
tree | 00746fa9746e150bad40de20305030ee5eb1a601 /cpukit/libmisc/shell/fts.c | |
parent | 2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-e4d7016c1a0066f729a84ffaeb8b03a1b913a9a4.tar.bz2 |
2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 18
* libmisc/shell/fts.c: Add free(parent) to correct leak.
Diffstat (limited to 'cpukit/libmisc/shell/fts.c')
-rw-r--r-- | cpukit/libmisc/shell/fts.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |