Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41424994 authored by Peng Fan's avatar Peng Fan Committed by Greg Kroah-Hartman
Browse files

mips/vdso: Fix resource leaks in genvdso.c



[ Upstream commit a859647b4e6bfeb192284d27d24b6a0c914cae1d ]

Close "fd" before the return of map_vdso() and close "out_file"
in main().

Signed-off-by: default avatarPeng Fan <fanpeng@loongson.cn>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 31d0d721
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment