Merge "regulator: cpr3-regulator: fix potential aging uninitialized variable usage"

This commit is contained in:
Linux Build Service Account 2016-09-19 23:28:00 -07:00 committed by Gerrit - the friendly Code Review server
commit d4ba07ec09

View file

@ -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;
}
}