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:
e0a0427
)
btrfs-progs: free eb in fixup_chunk_tree_block()
author
Zach Brown
<zab@redhat.com>
Mon, 7 Oct 2013 21:43:00 +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-image.c
patch
|
blob
|
history
diff --git
a/btrfs-image.c
b/btrfs-image.c
index c316a6426d6ca8463d694e406dabbecf52ef1059..40ed483180ed8dd260ce6ab1ed1747ae30083246 100644
(file)
--- a/
btrfs-image.c
+++ b/
btrfs-image.c
@@
-1541,6
+1541,7
@@
next:
bytenr += mdres->leafsize;
}
+ free(eb);
return 0;
}