numam-dpdk/drivers/bus/pci
Kevin Laatz d5c398741d bus/pci: fix memory leak in device cleanup
During PCI bus device cleanup some interrupt handle pointers and the
bus_info pointer are not being free'd, leading to memory leaks.
This patch fixes the memory leaks by ensuring they are free'd during
device cleanup on exit.

Fixes: 1cab1a40ea ("bus: cleanup devices on shutdown")

Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Tested-by: Weiyuan Li <weiyuanx.li@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2022-10-20 11:34:55 +02:00
..
bsd drivers/bus: set device NUMA node to unknown by default 2022-10-06 21:26:55 +02:00
linux bus/pci: remove VFIO status log in scan 2022-10-10 17:54:46 +02:00
windows drivers/bus: set device NUMA node to unknown by default 2022-10-06 21:26:55 +02:00
bus_pci_driver.h bus/pci: fill bus specific information 2022-09-23 16:14:34 +02:00
meson.build bus/pci: make driver-only headers private 2022-09-23 16:14:34 +02:00
pci_common_uio.c drivers: check interrupt file descriptor validity 2021-11-08 17:32:42 +01:00
pci_common.c bus/pci: fix memory leak in device cleanup 2022-10-20 11:34:55 +02:00
pci_params.c dev: hide driver object 2022-09-23 16:14:34 +02:00
private.h bus/pci: fill bus specific information 2022-09-23 16:14:34 +02:00
rte_bus_pci.h bus/pci: make driver-only headers private 2022-09-23 16:14:34 +02:00
version.map bus/pci: make driver-only headers private 2022-09-23 16:14:34 +02:00