aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 61bd79abb805..f50253c2279d 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -654,6 +654,8 @@ static int btrfs_get_sb(struct file_system_type *fs_type, int flags,
654 } 654 }
655 655
656 btrfs_close_devices(fs_devices); 656 btrfs_close_devices(fs_devices);
657 kfree(fs_info);
658 kfree(tree_root);
657 } else { 659 } else {
658 char b[BDEVNAME_SIZE]; 660 char b[BDEVNAME_SIZE];
659 661