Since the out label has been deleted, this free_extent_buffer will never
be executed.

Fixes: f37ae8d275c2 ("btrfs-progs: print-tree: Enhance warning on tree block 
level mismatch and error handling")
Signed-off-by: Lu Fengqi <lufq.f...@cn.fujitsu.com>
---
 print-tree.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/print-tree.c b/print-tree.c
index a2f6bfc027c9..44e9b40a9874 100644
--- a/print-tree.c
+++ b/print-tree.c
@@ -1416,6 +1416,4 @@ void btrfs_print_tree(struct btrfs_root *root, struct 
extent_buffer *eb, int fol
        }
 
        return;
-
-       free_extent_buffer(next);
 }
-- 
2.16.3



--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to