mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 15:43:59 +08:00
22ff7d4ca3
Each iteration of for_each_child_of_node puts the previous node, but in the case of a goto from the middle of the loop, there is no put, thus causing a memory leak. Hence add an of_node_put before the goto in two places. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Acked-by: Houlong Wei <houlong.wei@mediatek.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> |
||
---|---|---|
.. | ||
Makefile | ||
mtk_mdp_comp.c | ||
mtk_mdp_comp.h | ||
mtk_mdp_core.c | ||
mtk_mdp_core.h | ||
mtk_mdp_ipi.h | ||
mtk_mdp_m2m.c | ||
mtk_mdp_m2m.h | ||
mtk_mdp_regs.c | ||
mtk_mdp_regs.h | ||
mtk_mdp_vpu.c | ||
mtk_mdp_vpu.h |