From: Geyslan G. Bem Date: Fri, 11 Oct 2013 18:35:45 +0000 (-0300) Subject: btrfs: Fix memory leakage in the tree-log.c X-Git-Tag: v3.13-rc1~85^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03b2f08b5f96db5d07dba54ae008e9fdf1396e05;p=pandora-kernel.git btrfs: Fix memory leakage in the tree-log.c In add_inode_ref() function: Initializes local pointers. Reduces the logical condition with the __add_inode_ref() return value by using only one 'goto out'. Centralizes the exiting, ensuring the freeing of all used memory. Signed-off-by: Geyslan G. Bem Reviewed-by: Stefan Behrens Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed