Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selftests/efivarfs: create-read: fix a resource leak
[ Upstream commit 3f6f8a8 ] 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>
- Loading branch information