Re: [dpdk-dev] [PATCH v3 2/2] net/mlx5: fix resource leak in case of error

2018-05-09 Thread Shahaf Shuler
--Shahaf > -Original Message- > From: Yongseok Koh > Sent: Tuesday, May 8, 2018 10:20 PM > To: Raslan Darawsheh > Cc: Shahaf Shuler ; dev@dpdk.org; Thomas > Monjalon ; Ophir Munk > ; sta...@dpdk.org > Subject: Re: [PATCH v3 2/2] net/mlx5: fix resource leak in case of error > > > > On

Re: [dpdk-dev] [PATCH v3 2/2] net/mlx5: fix resource leak in case of error

2018-05-08 Thread Yongseok Koh
> On May 8, 2018, at 2:11 AM, Raslan Darawsheh wrote: > > If something went wrong in mlx5 pci prop the allocated eth dev > will cause a memory leak. > > This commit release the eth dev that was previously allocated. > > Fixes: 771fa900b73a ("mlx5: introduce new driver for Mellanox ConnectX-4