summaryrefslogtreecommitdiffstats
path: root/lib/list_sort.c
diff options
context:
space:
mode:
authorHuang Shijie <shijie8@gmail.com>2010-08-08 14:39:07 +0200
committerTejun Heo <tj@kernel.org>2010-08-27 11:36:08 +0200
commita002d148426f40bc2b7dc066982eb177cdebeaaa (patch)
tree2b499e19cd7431b077eefe53dbcde8dbe71d3097 /lib/list_sort.c
parent94cb121c9483f1ec9b1ef0c249fbfc49c628fa6b (diff)
downloadop-kernel-dev-a002d148426f40bc2b7dc066982eb177cdebeaaa.zip
op-kernel-dev-a002d148426f40bc2b7dc066982eb177cdebeaaa.tar.gz
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
Diffstat (limited to 'lib/list_sort.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud