summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-01-19 23:01:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-01-19 23:01:36 +0000
commite4d7016c1a0066f729a84ffaeb8b03a1b913a9a4 (patch)
tree00746fa9746e150bad40de20305030ee5eb1a601 /cpukit/libmisc
parent2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-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')
-rw-r--r--cpukit/libmisc/shell/fts.c2
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);