diff --git a/[refs] b/[refs] index 5ccf1b52f63b..0644167792e4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a90e8b6fb80db43b029e1e76205452afa8bdc77a +refs/heads/master: f23c8af8ca2789eeb0ab9ea90c214f9694d96cc5 diff --git a/trunk/fs/btrfs/super.c b/trunk/fs/btrfs/super.c index 6befcaf253bd..58e9492230ce 100644 --- a/trunk/fs/btrfs/super.c +++ b/trunk/fs/btrfs/super.c @@ -905,8 +905,10 @@ static struct dentry *btrfs_mount(struct file_system_type *fs_type, int flags, error = btrfs_parse_early_options(data, mode, fs_type, &subvol_name, &subvol_objectid, &subvol_rootid, &fs_devices); - if (error) + if (error) { + kfree(subvol_name); return ERR_PTR(error); + } if (subvol_name) { root = mount_subvol(subvol_name, flags, device_name, data);