cpufreq: cpufreq-cpu0: Free parent node for error cases
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 3 May 2013 04:44:25 +0000 (04:44 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 12 May 2013 12:04:16 +0000 (14:04 +0200)
commit5aaa9cc7ab589893efe8e66bf02f7fc2175a1f5b
tree29f0b95905b3e0de58fc28f3817b17d9ee1963f2
parentfc31d6f55908759530462998d0464a9f124b1c32
cpufreq: cpufreq-cpu0: Free parent node for error cases

We are freeing parent node in success cases but not in failure cases.
Let's do it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq-cpu0.c