diff options
author | Zach Brown <zab@redhat.com> | 2013-10-07 14:43:00 -0700 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-10-16 08:23:13 -0400 |
commit | 0b8cea12ffcdb919e5745664d7a88bb67d3758d2 (patch) | |
tree | c60ba02307f0be8efc659c6b673175cf30076e0b | |
parent | e0a04278a95cab3b7aac3db4d8723896b7a5bbbd (diff) |
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>
-rw-r--r-- | btrfs-image.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |