aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qgroup-verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qgroup-verify.c b/qgroup-verify.c
index c4e9201..48e4d22 100644
--- a/qgroup-verify.c
+++ b/qgroup-verify.c
@@ -761,7 +761,7 @@ static int load_quota_info(struct btrfs_fs_info *info)
tmproot = btrfs_read_fs_root_no_cache(info, &root_key);
if (tmproot && !IS_ERR(tmproot)) {
count->subvol_exists = 1;
- free(tmproot);
+ btrfs_free_fs_root(tmproot);
}
}