Skip to content
Commit ba003319 authored by Viresh Kumar's avatar Viresh Kumar
Browse files

opp: Free static OPPs on errors while adding them

The static OPPs aren't getting freed properly, if errors occur while
adding them. Fix that by calling _put_opp_list_kref() and putting their
reference on failures.

Fixes: 11e1a164

 ("opp: Don't decrement uninitialized list_kref")
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent e42617b8
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