diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2026-07-23 18:14:15 +0530 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-07-24 18:25:20 +0300 |
| commit | 30c906cff490c3601ee9ff110fe8115fabe75fd4 (patch) | |
| tree | eee797bd90c46d20bd4a6fdfc46b407611c79632 /tools/perf/scripts/python | |
| parent | 59f586eb9394c7697cfcd2e1bb172c95e772559e (diff) | |
platform/x86: int1092: Fix potential memory leak in sar_probe()
The memory allocated for device_mode_info in parse_package() called by
sar_get_data() is not freed in some of the error paths in sar_probe().
Fix that by converting to use device managed allocations.
Fixes: dcfbd31ef4bc ("platform/x86: BIOS SAR driver for Intel M.2 Modem")
Cc: stable@vger.kernel.org
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Link: https://patch.msgid.link/20260723-platx86-v4-1-93b4a178b595@cse.iitm.ac.in
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
