diff options
author | M Chetan Kumar <m.chetan.kumar@linux.intel.com> | 2022-11-07 13:04:49 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-11-09 14:00:25 +0000 |
commit | d38a648d2d6cc7bee11c6f533ff9426a00c2a74c (patch) | |
tree | 290286349726dd30a3186288c9e020cc2de26df1 /drivers/net/wwan/iosm/iosm_ipc_mux.h | |
parent | 742c60e1285ca40642e988f7e3db92232171b27d (diff) |
net: wwan: iosm: fix memory leak in ipc_pcie_read_bios_cfg
ipc_pcie_read_bios_cfg() is using the acpi_evaluate_dsm() to
obtain the wwan power state configuration from BIOS but is
not freeing the acpi_object. The acpi_evaluate_dsm() returned
acpi_object to be freed.
Free the acpi_object after use.
Fixes: 7e98d785ae61 ("net: iosm: entry point")
Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_mux.h')
0 files changed, 0 insertions, 0 deletions