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>
This commit is contained in:
Zach Brown 2013-10-07 14:43:00 -07:00 committed by Chris Mason
parent e0a04278a9
commit 0b8cea12ff
1 changed files with 1 additions and 0 deletions

View File

@ -1541,6 +1541,7 @@ next:
bytenr += mdres->leafsize;
}
free(eb);
return 0;
}