mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 21:17:50 +07:00
d55841ce11
The variable child in the function of_davinci_pll_init takes the value of of_get_child_by_name, which gets a node but does not put it. If child is not put before the function returns it may cause a memory leak. Hence put child before two return statements. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Link: https://lkml.kernel.org/r/20190804162824.6338-1-nishkadg.linux@gmail.com Signed-off-by: Stephen Boyd <sboyd@kernel.org> |
||
---|---|---|
.. | ||
da8xx-cfgchip.c | ||
Makefile | ||
pll-da830.c | ||
pll-da850.c | ||
pll-dm355.c | ||
pll-dm365.c | ||
pll-dm644x.c | ||
pll-dm646x.c | ||
pll.c | ||
pll.h | ||
psc-da830.c | ||
psc-da850.c | ||
psc-dm355.c | ||
psc-dm365.c | ||
psc-dm644x.c | ||
psc-dm646x.c | ||
psc.c | ||
psc.h |