diff options
Diffstat (limited to 'cpukit/libfs')
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-rtems.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-rtems.c b/cpukit/libfs/src/rfs/rtems-rfs-rtems.c index b5d665e159..969f1951a9 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-rtems.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-rtems.c @@ -151,7 +151,10 @@ rtems_rfs_rtems_eval_path (const char* path, if (rtems_rfs_current_dir (node)) { if (*path) + { + rtems_rfs_inode_close (fs, &inode); continue; + } break; } @@ -337,7 +340,10 @@ rtems_rfs_rtems_eval_for_make (const char* path, if (rtems_rfs_current_dir (node)) { if (*path) + { + rtems_rfs_inode_close (fs, &inode); continue; + } break; } |