diff options
| author | Prarit Bhargava <[email protected]> | 2019-09-05 12:03:11 +0000 |
|---|---|---|
| committer | Andy Shevchenko <[email protected]> | 2019-09-07 18:19:13 +0000 |
| commit | 3bc3d30ca324bfc3045a1a7fe1f5fe5ad5d92fd9 (patch) | |
| tree | 7b0f3eb482fab76aae86ea1473bb3c7ab4bf5823 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | tools/power/x86/intel-speed-select: Output success/failed for command output (diff) | |
| download | kernel-3bc3d30ca324bfc3045a1a7fe1f5fe5ad5d92fd9.tar.gz kernel-3bc3d30ca324bfc3045a1a7fe1f5fe5ad5d92fd9.zip | |
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 <[email protected]>
Acked-by: Srinivas Pandruvada <[email protected]>
Cc: Srinivas Pandruvada <[email protected]>
Cc: David Arcari <[email protected]>
Cc: [email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
