From 0b8cea12ffcdb919e5745664d7a88bb67d3758d2 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Mon, 7 Oct 2013 14:43:00 -0700 Subject: [PATCH] btrfs-progs: free eb in fixup_chunk_tree_block() This was found by static analysis. Signed-off-by: Zach Brown Signed-off-by: David Sterba Signed-off-by: Chris Mason --- btrfs-image.c | 1 + 1 file changed, 1 insertion(+) diff --git a/btrfs-image.c b/btrfs-image.c index c316a642..40ed4831 100644 --- a/btrfs-image.c +++ b/btrfs-image.c @@ -1541,6 +1541,7 @@ next: bytenr += mdres->leafsize; } + free(eb); return 0; }