Thread (6 messages) 6 messages, 3 authors, 2021-09-15

Re: [PATCH] clk: mvebu: ap-cpu-clk: Fix a memory leak in error handling paths

From: Stephen Boyd <sboyd@kernel.org>
Date: 2021-09-15 01:25:39
Also in: linux-clk, lkml

Quoting Christophe JAILLET (2021-04-23 00:02:26)
If we exit the for_each_of_cpu_node loop early, the reference on the
current node must be decremented, otherwise there is a leak.

Fixes: f756e362d938 ("clk: mvebu: add CPU clock driver for Armada 7K/8K")
Signed-off-by: Christophe JAILLET <redacted>
---
Applied to clk-next
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help