Skip to content
Commit a002d148 authored by Huang Shijie's avatar Huang Shijie Committed by Tejun Heo
Browse files

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: default avatarHuang Shijie <shijie8@gmail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Cc: stable@kernel.org
parent 94cb121c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment