RE: [PATCH v2] net/mlx5: fix memleak for resource object

2024-07-01 Thread Dariusz Sosnowski
c: dev@dpdk.org; Mahmoud Maatuq > Subject: [PATCH v2] net/mlx5: fix memleak for resource object I think for clarity what resource was leaking, a better title would be: net/mlx5: fix matcher object memory leak > > this makes sure that the allocated resource object is freed for all bra

[PATCH v2] net/mlx5: fix memleak for resource object

2024-06-24 Thread Mahmoud Maatuq
this makes sure that the allocated resource object is freed for all branches that return NULL Coverity issue: 426424 Fixes: 27d171b88031 ("net/mlx5: abstract flow action and enable reconfigure") Cc: mkash...@nvidia.com Signed-off-by: Mahmoud Maatuq --- drivers/net/mlx5/mlx5_flow_dv.c | 5 -