diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 61bd79abb805a29d2c9b7c0527bc2860c84c6b37..f50253c2279deed1bb89f1c5576d85080c61b7fb 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, } btrfs_close_devices(fs_devices); + kfree(fs_info); + kfree(tree_root); } else { char b[BDEVNAME_SIZE];