[Resource Leak] Missing closing files in testing/selftests/timens/procfs.c
From: Ryan Cai
Date: Wed Dec 29 2021 - 22:30:29 EST
Dear Kernel maintainers,
1. In read_proc_uptime, the file opened at Line 75 may not closed when going to Line 84 and 87.
Location: https://github.com/torvalds/linux/blob/5bfc75d92efd494db37f5c4c173d3639d4772966/tools/testing/selftests/timens/procfs.c#L75-L87
Can I send I a patch?
Best,
Ryan