diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2026-05-11 12:12:11 +0530 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2026-05-20 13:23:37 +0530 |
| commit | 69f888381d2ecbe18ed9f112c096f8fd3623db98 (patch) | |
| tree | 10894c7e31b91e7c1b0458a0d906bd96bfd2d35e /drivers/platform/wmi/tests/git@git.tavy.me:linux.git | |
| parent | f5e1cc9a284bff2510981643a5bca4bc4c21b81a (diff) | |
OPP: of: Fix potential memory leak in opp_parse_supplies()
The memory allocated for microvolt, microamp and microwatt is not freed
in one of the paths in opp_parse_supplies() which returns directly.
Fix that by adding a goto to the error unwind ladder.
Fixes: 2eedf62e66c2 ("OPP: decouple dt properties in opp_parse_supplies()")
Cc: stable@vger.kernel.org
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/platform/wmi/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
