summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/symlink.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-12 19:10:46 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-12 19:10:46 +0000
commitdd0f32614ceb0dd72f406d8434acdecc5ccff616 (patch)
tree3620ac014837a178fc91eac4b54b7b2e5ceb5c41 /cpukit/libcsupport/src/symlink.c
parentFixed spacing. (diff)
downloadrtems-dd0f32614ceb0dd72f406d8434acdecc5ccff616.tar.bz2
Added rtems_filesystem_freenode() macro and added calls at appropriate
places to make sure memory allocated for filesystem specifif nodes gets freed.
Diffstat (limited to 'cpukit/libcsupport/src/symlink.c')
-rw-r--r--cpukit/libcsupport/src/symlink.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/symlink.c b/cpukit/libcsupport/src/symlink.c
index b5c6013b07..ceb1025239 100644
--- a/cpukit/libcsupport/src/symlink.c
+++ b/cpukit/libcsupport/src/symlink.c
@@ -31,8 +31,7 @@ int symlink(
result = (*loc.ops->symlink)( &loc, actualpath, name_start);
- if ( loc.ops->freenod )
- (*loc.ops->freenod)( &loc );
+ rtems_filesystem_freenode( &loc );
return result;
}