mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-23 14:45:19 +00:00
btrfs-progs: free leaked roots in calc-size
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
59b772c959
commit
f539dbb3e5
@ -508,5 +508,6 @@ int main(int argc, char **argv)
|
||||
goto out;
|
||||
out:
|
||||
close_ctree(root);
|
||||
free(roots);
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user