Skip to content
Commit 62c3f2fd authored by Shailendra Verma's avatar Shailendra Verma Committed by Rafael J. Wysocki
Browse files

cpufreq: exynos: Fix for memory leak in case SoC name does not match



During probe free the memory allocated to "exynos_info" in case of
unknown SoC type.

Signed-off-by: default avatarShailendra Verma <shailendra.capricorn@gmail.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Acked-by: default avatarLukasz Majewski <l.majewski@samsung.com>
[k.kozlowski: Rebased the patch around if(of_machine_is_compatible)]
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene@kernel.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent f7644cbf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment