Merge "regulator: cpr3-regulator: fix potential aging uninitialized variable usage"
This commit is contained in:
commit
d4ba07ec09
1 changed files with 2 additions and 1 deletions
|
@ -3362,7 +3362,8 @@ static int cpr3_regulator_measure_aging(struct cpr3_controller *ctrl,
|
|||
if (rc) {
|
||||
cpr3_err(ctrl, "failed to clear CPR4 configuration,rc=%d\n",
|
||||
rc);
|
||||
goto cleanup;
|
||||
kfree(quot_delta_results);
|
||||
return rc;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue