Skip to content
Commit 3f6f8a8c authored by zhujun2's avatar zhujun2 Committed by Shuah Khan
Browse files

selftests/efivarfs: create-read: fix a resource leak



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

Signed-off-by: default avatarzhujun2 <zhujun2@cmss.chinamobile.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 11df2885
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment