Re: [dpdk-dev] [PATCH_v4 2/3] regex/mlx5: fix leak in PCI remove function

2021-07-21 Thread Ori Kam
Hi Michael, > -Original Message- > From: dev On Behalf Of Michael Baum > Sent: Monday, July 12, 2021 10:07 AM > > In the PCI removal function, PMD releases all driver resources allocated in > the probe function. > > The MR btree memory is allocated in the probe function, but it is not f

[dpdk-dev] [PATCH_v4 2/3] regex/mlx5: fix leak in PCI remove function

2021-07-12 Thread Michael Baum
In the PCI removal function, PMD releases all driver resources allocated in the probe function. The MR btree memory is allocated in the probe function, but it is not freed in remove function what caused a memory leak. Release it. Fixes: cda883bbb655 ("regex/mlx5: add dynamic memory registration