diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-12 19:10:46 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-12 19:10:46 +0000 |
commit | dd0f32614ceb0dd72f406d8434acdecc5ccff616 (patch) | |
tree | 3620ac014837a178fc91eac4b54b7b2e5ceb5c41 /cpukit/libcsupport/src/utime.c | |
parent | Fixed spacing. (diff) | |
download | rtems-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/utime.c')
-rw-r--r-- | cpukit/libcsupport/src/utime.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/utime.c b/cpukit/libcsupport/src/utime.c index ccc92d044e..b7987c87b4 100644 --- a/cpukit/libcsupport/src/utime.c +++ b/cpukit/libcsupport/src/utime.c @@ -34,8 +34,7 @@ int utime( result = (*temp_loc.ops->utime)( &temp_loc, times->actime, times->modtime ); - if ( temp_loc.ops->freenod ) - (*temp_loc.ops->freenod)( &temp_loc ); + rtems_filesystem_freenode( &temp_loc ); return result; } |