cpufreq: qcom: fix memory leak in error path
If for some reason the speedbin length is incorrect, then there is a
memory leak in the error path because we never free the speedbin buffer.
This commit fixes the error path to always free the speedbin buffer.
Signed-off-by:
Fabien Parent <fabien.parent@linaro.org>
Loading
Please sign in to comment