xfs: Fix memory leak in xfs_dir2_node_find_entry() function
commit27c574adbb9d64d94da06174c0c9bb6c88c7a1e2
authorPaulo Alcantara <pcacjr@zytor.com>
Sun, 29 Jul 2012 20:48:37 +0000 (29 17:48 -0300)
committerPaulo Alcantara <pcacjr@zytor.com>
Sun, 29 Jul 2012 20:48:37 +0000 (29 17:48 -0300)
treeda697458e983a6e4594eff264a44c55eb9efdb01
parentb21c522d4f8fe94dd9ab9703fb0cb17da6b8a173
xfs: Fix memory leak in xfs_dir2_node_find_entry() function

If xfs_dir2_node_find_entry() wasn't able to find a data block, the leaf
pointer were not being freed through the label "out", so we must use the
label "out1" instead.

Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
core/fs/xfs/xfs_dir2.c
core/fs/xfs/xfs_readdir.c