commit | 450677dcb0cce5cb751538360b7196c28b733f3e | [log] [tgz] |
---|---|---|
author | Eric Dumazet <[email protected]> | Sat Nov 21 22:16:58 2020 -0800 |
committer | Linus Torvalds <[email protected]> | Sun Nov 22 10:48:22 2020 -0800 |
tree | 327fe48fc8f1a993669f3b3d86ac0cda59063e85 | |
parent | a349e4c659609fd20e4beea89e5c4a4038e33a95 [diff] |
mm/madvise: fix memory leak from process_madvise The early return in process_madvise() will produce a memory leak. Fix it. Fixes: ecb8ac8b1f14 ("mm/madvise: introduce process_madvise() syscall: an external memory hinting API") Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: Minchan Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>