aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2020-11-22 06:16:58 +0000
committerLinus Torvalds <[email protected]>2020-11-22 18:48:22 +0000
commit450677dcb0cce5cb751538360b7196c28b733f3e (patch)
tree327fe48fc8f1a993669f3b3d86ac0cda59063e85 /scripts/gcc-plugins/structleak_plugin.c
parentMerge tag 'xfs-5.10-fixes-7' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux (diff)
downloadkernel-450677dcb0cce5cb751538360b7196c28b733f3e.tar.gz
kernel-450677dcb0cce5cb751538360b7196c28b733f3e.zip
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]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions