projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrfs: ref-verify: fix memory leak in btrfs_ref_tree_mod
[linux-2.6-microblaze.git]
/
fs
/
btrfs
/
ref-verify.c
diff --git
a/fs/btrfs/ref-verify.c
b/fs/btrfs/ref-verify.c
index
7f03dbe
..
78693d3
100644
(file)
--- a/
fs/btrfs/ref-verify.c
+++ b/
fs/btrfs/ref-verify.c
@@
-860,6
+860,7
@@
int btrfs_ref_tree_mod(struct btrfs_fs_info *fs_info,
"dropping a ref for a root that doesn't have a ref on the block");
dump_block_entry(fs_info, be);
dump_ref_action(fs_info, ra);
+ kfree(ref);
kfree(ra);
goto out_unlock;
}