Commit 788fc0b6 authored by Fabien Parent's avatar Fabien Parent Committed by Steev Klimaszewski
Browse files

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: default avatarFabien Parent <fabien.parent@linaro.org>
parent 0b0ef13a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment