aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorXiaotian Feng <[email protected]>2013-08-06 20:06:42 +0800
committerIngo Molnar <[email protected]>2013-08-16 17:44:27 +0200
commitc8d2d47a9cbb4222ae4e993aa0e3703430c8193c (patch)
treed522413abcf9c69d3ceef66e7dc4708560812645 /lib/memory-notifier-error-inject.c
parentd3ec3a1fd08f705d1b319db4113590944bcde749 (diff)
cpumask: Fix cpumask leak in partition_sched_domains()
If doms_new is NULL, partition_sched_domains() will reset ndoms_cur to 0, and free old sched domains with free_sched_domains(doms_cur, ndoms_cur). As ndoms_cur is 0, the cpumask will not be freed. Signed-off-by: Xiaotian Feng <[email protected]> Cc: Rusty Russell <[email protected]> Cc: [email protected] Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions