linux-imx/tools/testing/selftests/efivarfs
zhujun2 87215fbda3 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:19:42 +00:00
..
.gitignore
config
create-read.c selftests/efivarfs: create-read: fix a resource leak 2023-11-28 17:19:42 +00:00
efivarfs.sh
Makefile
open-unlink.c