Searched hist:"15423 b95" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/power/x86/turbostat/ |
H A D | turbostat.c | 15423b95 Mon Apr 08 04:00:44 CDT 2019 Colin Ian King <colin.king@canonical.com> tools/power turbostat: fix leak of file descriptor on error return path
Currently the error return path does not close the file fp and leaks a file descriptor. Fix this by closing the file.
Fixes: 5ea7647b333f ("tools/power turbostat: Warn on bad ACPI LPIT data") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Len Brown <len.brown@intel.com>
|