summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libfs/src/imfs/imfs_rmnod.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/libfs/src/imfs/imfs_rmnod.c')
-rw-r--r--c/src/exec/libfs/src/imfs/imfs_rmnod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/exec/libfs/src/imfs/imfs_rmnod.c b/c/src/exec/libfs/src/imfs/imfs_rmnod.c
index f651622de4..3768b9543d 100644
--- a/c/src/exec/libfs/src/imfs/imfs_rmnod.c
+++ b/c/src/exec/libfs/src/imfs/imfs_rmnod.c
@@ -55,6 +55,7 @@ int IMFS_rmnod(
/*
* Take the node out of the parent's chain that contains this node
*/
+
if ( the_jnode->Parent != NULL ) {
Chain_Extract( (Chain_Node *) the_jnode );
the_jnode->Parent = NULL;