From: Wei Yongjun Date: Sun, 2 Sep 2012 13:44:51 +0000 (-0600) Subject: Btrfs: fix possible memory leak in scrub_setup_recheck_block() X-Git-Tag: v3.7-rc1~71^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf93dccea67ad8f5e0d9163c6a0a584550bbd7cd;p=pandora-kernel.git Btrfs: fix possible memory leak in scrub_setup_recheck_block() bbio has been malloced in btrfs_map_block() and should be freed before leaving from the error handling cases. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun --- Reading git-diff-tree failed