projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b0d3ac
)
Btrfs: Fix memory leak in cache_drop_leaf_ref
author
Chris Mason
<chris.mason@oracle.com>
Thu, 5 Feb 2009 14:08:14 +0000
(09:08 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 5 Feb 2009 14:08:14 +0000
(09:08 -0500)
The code wasn't doing a kfree on the sorted array
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/extent-tree.c
b/fs/btrfs/extent-tree.c
index
1d3e926
..
7527523
100644
(file)
--- a/
fs/btrfs/extent-tree.c
+++ b/
fs/btrfs/extent-tree.c
@@
-3582,6
+3582,7
@@
static noinline int cache_drop_leaf_ref(struct btrfs_trans_handle *trans,
info++;
}
+ kfree(sorted);
return 0;
}