mirror of
https://github.com/torvalds/linux.git
synced 2025-11-08 12:40:51 +02:00
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 | ||