Re: [PATCH v2] bus: fix memleak during pci device cleanup

2022-10-20 Thread David Marchand
On Thu, Oct 20, 2022 at 11:19 AM David Marchand wrote: > On Wed, Oct 19, 2022 at 2:35 PM Kevin Laatz wrote: > > > > 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 ens

Re: [PATCH v2] bus: fix memleak during pci device cleanup

2022-10-20 Thread David Marchand
On Wed, Oct 19, 2022 at 2:35 PM Kevin Laatz wrote: > > 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:

RE: [PATCH v2] bus: fix memleak during pci device cleanup

2022-10-19 Thread Li, WeiyuanX
> -Original Message- > From: Kevin Laatz > Sent: Wednesday, October 19, 2022 8:38 PM > To: dev@dpdk.org > Cc: Laatz, Kevin ; Morten Brørup > ; Richardson, Bruce > > Subject: [PATCH v2] bus: fix memleak during pci device cleanup > > During PCI bus device

[PATCH v2] bus: fix memleak during pci device cleanup

2022-10-19 Thread Kevin Laatz
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: 1cab1a40ea9b ("bus: cleanup devices on shutdown") Signed-off-by: