Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked fromtorvalds/linux

Commit806638b

Browse files
committed
Btrfs: Fix memory leak in cache_drop_leaf_ref
The code wasn't doing a kfree on the sorted arraySigned-off-by: Chris Mason <chris.mason@oracle.com>
1 parent9b0d3ac commit806638b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎fs/btrfs/extent-tree.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3582,6 +3582,7 @@ static noinline int cache_drop_leaf_ref(struct btrfs_trans_handle *trans,
35823582
info++;
35833583
}
35843584

3585+
kfree(sorted);
35853586
return0;
35863587
}
35873588

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp