linux/tools/power
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
..
acpi ACPICA: Update all copyrights/signons to 2023 2023-04-06 20:29:11 +02:00
cpupower tools cpupower bench: Override CFLAGS assignments 2024-01-21 16:57:51 -07:00
pm-graph PM: tools: Fix sleepgraph syntax error 2023-11-20 17:59:58 +01:00
x86 tools/power x86_energy_perf_policy: Fix file leak in get_pkg_num() 2024-02-22 20:05:28 +01:00