Commit a002d148426f40bc2b7dc066982eb177cdebeaaa
Committed by
Tejun Heo
1 parent
94cb121c94
Exists in
master
and in
20 other branches
percpu: fix a memory leak in pcpu_extend_area_map()
The original code did not free the old map. This patch fixes it. tj: use @old as memcpy source instead of @chunk->map, and indentation and description update Signed-off-by: Huang Shijie <shijie8@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org> Cc: stable@kernel.org
Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff
mm/percpu.c