aboutsummaryrefslogtreecommitdiffstats
path: root/btrfs-image.c
diff options
context:
space:
mode:
authorZach Brown <zab@redhat.com>2013-10-07 14:43:00 -0700
committerChris Mason <chris.mason@fusionio.com>2013-10-16 08:23:13 -0400
commit0b8cea12ffcdb919e5745664d7a88bb67d3758d2 (patch)
treec60ba02307f0be8efc659c6b673175cf30076e0b /btrfs-image.c
parente0a04278a95cab3b7aac3db4d8723896b7a5bbbd (diff)
downloadbtrfs-progs-0b8cea12ffcdb919e5745664d7a88bb67d3758d2.tar.gz
btrfs-progs-0b8cea12ffcdb919e5745664d7a88bb67d3758d2.tar.xz
btrfs-progs-0b8cea12ffcdb919e5745664d7a88bb67d3758d2.zip
btrfs-progs: free eb in fixup_chunk_tree_block()
This was found by static analysis. Signed-off-by: Zach Brown <zab@redhat.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'btrfs-image.c')
-rw-r--r--btrfs-image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/btrfs-image.c b/btrfs-image.c
index c316a64..40ed483 100644
--- a/btrfs-image.c
+++ b/btrfs-image.c
@@ -1541,6 +1541,7 @@ next:
bytenr += mdres->leafsize;
}
+ free(eb);
return 0;
}