mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
In function cm_osc_setup, variable parent takes the value returned by of_get_parent, which gets a node but does not put it. If parent is not put before it goes out of scope, it may cause a memory leak. Hence put parent before the function terminates. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Link: https://lkml.kernel.org/r/20190804163445.6862-1-nishkadg.linux@gmail.com Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org> |
History
|
|
|---|---|---|
| .. | ||
| clk-icst.c | ||
| clk-icst.h | ||
| clk-impd1.c | ||
| clk-sp810.c | ||
| clk-versatile.c | ||
| clk-vexpress-osc.c | ||
| icst.c | ||
| icst.h | ||
| Kconfig | ||
| Makefile | ||