From dd0f32614ceb0dd72f406d8434acdecc5ccff616 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 12 Oct 1999 19:10:46 +0000 Subject: Added rtems_filesystem_freenode() macro and added calls at appropriate places to make sure memory allocated for filesystem specifif nodes gets freed. --- cpukit/libcsupport/src/symlink.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cpukit/libcsupport/src/symlink.c') 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; } -- cgit v1.2.3