summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/utime.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 /c/src/lib/libc/utime.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 'c/src/lib/libc/utime.c')
-rw-r--r--c/src/lib/libc/utime.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/c/src/lib/libc/utime.c b/c/src/lib/libc/utime.c
index ccc92d044e..b7987c87b4 100644
--- a/c/src/lib/libc/utime.c
+++ b/c/src/lib/libc/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;
}