linux/tools/power
Prarit Bhargava 3bc3d30ca3 tools/power/x86/intel-speed-select: Fix memory leak
cpumasks are allocated by calling the alloc_cpu_mask() function and are
never free'd.  They should be free'd after the commands have run.

Fix the memory leaks by calling free_cpu_set().

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: David Arcari <darcari@redhat.com>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2019-09-07 21:19:13 +03:00
..
acpi Merge branches 'acpi-tables', 'acpi-osl', 'acpi-misc' and 'acpi-tools' 2019-07-08 11:02:22 +02:00
cpupower kbuild: create *.mod with full directory path and remove MODVERDIR 2019-07-18 02:19:31 +09:00
pm-graph Merge back earlier pm-tools material for v5.3. 2019-06-13 11:06:21 +02:00
x86 tools/power/x86/intel-speed-select: Fix memory leak 2019-09-07 21:19:13 +03:00