commit | a69261e4470d680185a15f748d9cdafb37c57a33 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Feb 07 16:19:06 2017 +0300 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Feb 09 01:22:45 2017 +0100 |
tree | 4651a6c3f3cd27fabbe65e96ebb1761acdc3b08a | |
parent | 2a96c9ecbbaa433715e5e756cd38bd5799a4acad [diff] |
cpufreq: s3c2416: double free on driver init error path 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 <dan.carpenter@oracle.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>