aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorDavid Rientjes <[email protected]>2017-09-08 23:13:29 +0000
committerLinus Torvalds <[email protected]>2017-09-09 01:26:47 +0000
commitb6b1fd2a6bedd533aeed83924d7be0e944fded9f (patch)
tree406e66f717c827dd6c67d9953a9e7bfefb9c9278 /lib/string.c
parentmm: kvfree the swap cluster info if the swap file is unsatisfactory (diff)
downloadkernel-b6b1fd2a6bedd533aeed83924d7be0e944fded9f.tar.gz
kernel-b6b1fd2a6bedd533aeed83924d7be0e944fded9f.zip
mm/swapfile.c: fix swapon frontswap_map memory leak on error
Free frontswap_map if an error is encountered before enable_swap_info(). Signed-off-by: David Rientjes <[email protected]> Reviewed-by: "Huang, Ying" <[email protected]> Cc: Darrick J. Wong <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: <[email protected]> [4.12+] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions