summaryrefslogtreecommitdiffstats
path: root/xlators/features/qemu-block
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/qemu-block')
-rw-r--r--xlators/features/qemu-block/src/qemu-block.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/features/qemu-block/src/qemu-block.c b/xlators/features/qemu-block/src/qemu-block.c
index 12bc2743756..9aa9f43ab19 100644
--- a/xlators/features/qemu-block/src/qemu-block.c
+++ b/xlators/features/qemu-block/src/qemu-block.c
@@ -1083,7 +1083,8 @@ fini (xlator_t *this)
this->private = NULL;
- conf->root_inode = NULL;
+ /* No need to do inode_unref of conf->root_inode as ref/unref doesn't
+ * apply for it*/
GF_FREE (conf);
return;