Thread (4 messages) 4 messages, 4 authors, 2017-02-09

Re: [patch] cpufreq: s3c2416: double free on driver init error path

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2017-02-07 20:29:36
Also in: linux-pm, linux-samsung-soc

On Tue, Feb 07, 2017 at 04:19:06PM +0300, Dan Carpenter wrote:
The "goto err_armclk;" error path already does a clk_put(s3c_freq->hclk);
so this is a double free.

Fixes: 34ee55075265 ("[CPUFREQ] Add S3C2416/S3C2450 cpufreq driver")
Signed-off-by: Dan Carpenter <redacted>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help