summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libcsupport/src/unmount.c
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>1999-10-25 14:23:03 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>1999-10-25 14:23:03 +0000
commit04df848c650ae9701bba83307d638b1e38db3b1b (patch)
tree13466085c1c1b06a9af3581d6da3d6ab3d3db370 /c/src/exec/libcsupport/src/unmount.c
parentMerged scripts-19991022-0 changes from Ralf. (diff)
downloadrtems-04df848c650ae9701bba83307d638b1e38db3b1b.tar.bz2
Added code to correctly free any allocated space during the evaluation
process.
Diffstat (limited to '')
-rw-r--r--c/src/exec/libcsupport/src/unmount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/exec/libcsupport/src/unmount.c b/c/src/exec/libcsupport/src/unmount.c
index 50827fc804..e8e73bb1d7 100644
--- a/c/src/exec/libcsupport/src/unmount.c
+++ b/c/src/exec/libcsupport/src/unmount.c
@@ -137,6 +137,7 @@ int unmount(
* Free the memory associated with the extracted mount table entry.
*/
+ rtems_filesystem_freenode( &temp_loc.mt_entry->mt_point_node );
free( temp_loc.mt_entry );
rtems_filesystem_freenode( &temp_loc );