From: Wang Shilong Date: Wed, 8 May 2013 08:10:25 +0000 (+0000) Subject: Btrfs: fix possible memory leak in the find_parent_nodes() X-Git-Tag: v3.10-rc2~7^2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c16c2e2e51c2f0951fffa73c343b8fcb641108ba;p=pandora-kernel.git Btrfs: fix possible memory leak in the find_parent_nodes() In the find_parent_nodes(), if read_tree_block() fails, we can not return directly, we should free some allocated memory otherwise memory leak happens. Signed-off-by: Wang Shilong Signed-off-by: Josef Bacik --- Reading git-diff-tree failed