From: Ilya Dryomov Date: Tue, 8 Nov 2011 17:15:05 +0000 (+0200) Subject: Btrfs: fix subvol_name leak on error in btrfs_mount() X-Git-Tag: v3.2-rc2~22^2~9^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f23c8af8ca2789eeb0ab9ea90c214f9694d96cc5;p=pandora-kernel.git 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 So free subvol_name string on error. Signed-off-by: Ilya Dryomov --- Reading git-diff-tree failed