linux/tools/power/x86
Samasth Norway Ananda f85450f134 tools/power x86_energy_perf_policy: Fix file leak in get_pkg_num()
In function get_pkg_num() if fopen_or_die() succeeds it returns a file
pointer to be used. But fclose() is never called before returning from
the function.

Signed-off-by: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2024-02-22 20:05:28 +01:00
..
amd_pstate_tracer selftests/amd-pstate: Fix broken paths to run workloads in amd-pstate-ut 2023-10-16 13:06:50 -06:00
intel_pstate_tracer tools/power/x86/intel_pstate_tracer: python minimum version 2023-09-21 20:35:50 +02:00
intel-speed-select tools/power/x86/intel-speed-select: v1.18 release 2023-10-17 14:54:44 -07:00
turbostat tools/power turbostat: version 2023.11.07 2023-11-07 23:28:30 -05:00
x86_energy_perf_policy tools/power x86_energy_perf_policy: Fix file leak in get_pkg_num() 2024-02-22 20:05:28 +01:00