btrfs-progs: fix leak of "path" in btrfs_find_item() error paths
authorEryu Guan <guaneryu@gmail.com>
Mon, 19 Oct 2015 11:37:50 +0000 (19:37 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 2 Nov 2015 08:35:02 +0000 (09:35 +0100)
commit380b1c8ced887bbaa655f863390b5a855e98fb7f
tree9001f790afc8f2702d3b7034e2b11362014e8729
parent14ac9851462c29f3f97355df5b4c3c9f1953c043
btrfs-progs: fix leak of "path" in btrfs_find_item() error paths

path needs to be freed before return.

Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
ctree.c