projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59b772c
)
btrfs-progs: free leaked roots in calc-size
author
Zach Brown
<zab@redhat.com>
Mon, 7 Oct 2013 21:43:05 +0000
(14:43 -0700)
committer
Chris Mason
<chris.mason@fusionio.com>
Wed, 16 Oct 2013 12:23:13 +0000
(08:23 -0400)
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>
btrfs-calc-size.c
patch
|
blob
|
history
diff --git
a/btrfs-calc-size.c
b/btrfs-calc-size.c
index
e9ef37f
..
a832ee0
100644
(file)
--- a/
btrfs-calc-size.c
+++ b/
btrfs-calc-size.c
@@
-508,5
+508,6
@@
int main(int argc, char **argv)
goto out;
out:
close_ctree(root);
+ free(roots);
return ret;
}