aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorPrarit Bhargava <[email protected]>2019-09-05 08:03:11 -0400
committerAndy Shevchenko <[email protected]>2019-09-07 21:19:13 +0300
commit3bc3d30ca324bfc3045a1a7fe1f5fe5ad5d92fd9 (patch)
tree7b0f3eb482fab76aae86ea1473bb3c7ab4bf5823 /lib/test_overflow.c
parent522586a9d5c32b5d7569237eebbfd8241f196419 (diff)
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 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions