diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-02-06 16:32:39 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-02-12 20:53:35 +0100 |
commit | 60cf8a5c1680effdeb6f8df9bd47e0eedcc57709 (patch) | |
tree | 2d54d470c24d53781e7d6e28fedf199a0c4b4870 /cpukit/libfs/src/imfs/imfs_fsunmount.c | |
parent | 9247d3faeefcfd2223cd5b12340127aecc319c1c (diff) |
IMFS: Add root directory to FS info
Fix memory leak in IMFS_fsunmount().
Diffstat (limited to 'cpukit/libfs/src/imfs/imfs_fsunmount.c')
-rw-r--r-- | cpukit/libfs/src/imfs/imfs_fsunmount.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_fsunmount.c b/cpukit/libfs/src/imfs/imfs_fsunmount.c index 629818fb55..1546927634 100644 --- a/cpukit/libfs/src/imfs/imfs_fsunmount.c +++ b/cpukit/libfs/src/imfs/imfs_fsunmount.c @@ -49,12 +49,6 @@ void IMFS_fsunmount( loc = temp_mt_entry->mt_fs_root->location; jnode = (IMFS_jnode_t *)loc.node_access; - /* - * Set this to null to indicate that it is being unmounted. - */ - - temp_mt_entry->mt_fs_root->location.node_access = NULL; - do { next = jnode->Parent; loc.node_access = (void *)jnode; |