Files
linux-stable-mirror/tools/testing/selftests
zhujun2andGreg Kroah-Hartman 0aaf807756 selftests/efivarfs: create-read: fix a resource leak
[ Upstream commit 3f6f8a8c5e ]

The opened file should be closed in main(), otherwise resource
leak will occur that this problem was discovered by code reading

Signed-off-by: zhujun2 <zhujun2@cmss.chinamobile.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-28 17:06:58 +00:00
..
2023-03-30 12:49:21 +02:00
2023-09-19 12:28:08 +02:00