commit | f23c8af8ca2789eeb0ab9ea90c214f9694d96cc5 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Tue Nov 08 19:15:05 2011 +0200 |
committer | Ilya Dryomov <idryomov@gmail.com> | Wed Nov 09 22:53:38 2011 +0200 |
tree | e1acd02447bc510609f14372d4aa4c1349ed6000 | |
parent | a90e8b6fb80db43b029e1e76205452afa8bdc77a [diff] |
Btrfs: fix subvol_name leak on error in btrfs_mount() btrfs_parse_early_options() can fail due to error while scanning devices (-o device= option), but still strdup() subvol_name string: mount -o subvol=SUBV,device=BAD_DEVICE <dev> <mnt> So free subvol_name string on error. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>