mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-04 21:04:46 +08:00
beae796d66
Each iteration of for_each_available_child_of_node puts the previous node, but in the case of a return from the middle of the loop, there is no put, thus causing a memory leak. Hence add an of_node_put before the return in two places. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
phy-armada38x-comphy.c | ||
phy-armada375-usb2.c | ||
phy-berlin-sata.c | ||
phy-berlin-usb.c | ||
phy-mvebu-a3700-comphy.c | ||
phy-mvebu-a3700-utmi.c | ||
phy-mvebu-cp110-comphy.c | ||
phy-mvebu-sata.c | ||
phy-pxa-28nm-hsic.c | ||
phy-pxa-28nm-usb2.c | ||
phy-pxa-usb.c |