summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/src/fuse-helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mount/fuse/src/fuse-helpers.c')
-rw-r--r--xlators/mount/fuse/src/fuse-helpers.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/xlators/mount/fuse/src/fuse-helpers.c b/xlators/mount/fuse/src/fuse-helpers.c
index d0dad29..e03d15c 100644
--- a/xlators/mount/fuse/src/fuse-helpers.c
+++ b/xlators/mount/fuse/src/fuse-helpers.c
@@ -68,14 +68,15 @@ fuse_resolve_wipe (fuse_resolve_t *resolve)
comp = resolve->components;
if (comp) {
-/*
int i = 0;
for (i = 0; comp[i].basename; i++) {
- if (comp[i].inode)
+ if (comp[i].inode) {
inode_unref (comp[i].inode);
+ comp[i].inode = NULL;
+ }
}
-*/
+
GF_FREE ((void *)resolve->components);
}
}