Skip to content
Snippets Groups Projects
user avatar
Colin Ian King authored
Currently the error return path does not close the file fp and leaks
a file descriptor. Fix this by closing the file.

Fixes: 5ea7647b ("tools/power turbostat: Warn on bad ACPI LPIT data")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
15423b95
History
Name Last commit Last update