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:
parent
e0a04278a9
commit
0b8cea12ff
|
@ -1541,6 +1541,7 @@ next:
|
||||||
bytenr += mdres->leafsize;
|
bytenr += mdres->leafsize;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(eb);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue