summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--btrfs-select-super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/btrfs-select-super.c b/btrfs-select-super.c
index bd44978a..df741532 100644
--- a/btrfs-select-super.c
+++ b/btrfs-select-super.c
@@ -102,6 +102,7 @@ int main(int ac, char **av)
*/
printf("using SB copy %llu, bytenr %llu\n", (unsigned long long)num,
(unsigned long long)bytenr);
+ close_ctree(root);
btrfs_close_all_devices();
return ret;
}