diff options
-rw-r--r-- | xlators/features/qemu-block/src/qemu-block.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/features/qemu-block/src/qemu-block.c b/xlators/features/qemu-block/src/qemu-block.c index 89cb3e9b5d2..12bc2743756 100644 --- a/xlators/features/qemu-block/src/qemu-block.c +++ b/xlators/features/qemu-block/src/qemu-block.c @@ -1083,8 +1083,7 @@ fini (xlator_t *this) this->private = NULL; - if (conf->root_inode) - inode_unref(conf->root_inode); + conf->root_inode = NULL; GF_FREE (conf); return; |