linux-stable/tools/testing
zhujun2 cb990db348 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 16:45:43 +00:00
..
fault-injection
ktest ktest.pl: Fix missing "end_monitor" when machine check fails 2023-03-11 16:26:48 +01:00
nvdimm
radix-tree radix tree test suite: fix incorrect allocation size for pthreads 2023-08-16 18:10:53 +02:00
selftests selftests/efivarfs: create-read: fix a resource leak 2023-11-28 16:45:43 +00:00