mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 14:43:58 +08:00
f44b799603
of_get_child_by_name() returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
This function only calls of_node_put() in normal path,
missing it in error paths.
Add missing of_node_put() to avoid refcount leak.
Fixes:
|
||
---|---|---|
.. | ||
exynos-nocp.c | ||
exynos-nocp.h | ||
exynos-ppmu.c | ||
exynos-ppmu.h | ||
Kconfig | ||
Makefile | ||
rockchip-dfi.c |