diff options
| author | Miaoqian Lin <linmq006@gmail.com> | 2025-10-28 11:16:20 +0800 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2025-11-04 17:29:00 +0100 |
| commit | bbde14682eba21d86f5f3d6fe2d371b1f97f1e61 (patch) | |
| tree | 031e27ac2c8bd7f8b5b9cd63033cbc9c27a8ce69 /net/unix/af_unix.c | |
| parent | fccac54b0d3d0602f177bb79f203ae6fbea0e32a (diff) | |
pmdomain: imx: Fix reference count leak in imx_gpc_remove
of_get_child_by_name() returns a node pointer with refcount incremented, we
should use of_node_put() on it when not needed anymore. Add the missing
of_node_put() to avoid refcount leak.
Fixes: 721cabf6c660 ("soc: imx: move PGC handling to a new GPC driver")
Cc: stable@vger.kernel.org
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
