Re: [dpdk-dev] [EXT] [PATCH] crypto/mlx5: fix driver probing error flow

2021-07-31 Thread Thomas Monjalon
30/07/2021 21:23, Akhil Goyal: > > In crypto driver probing, there are two validations after context > > allocation. > > > > When one of them fails, the context structure was not freed what caused > > a memory leak. > > > > Free it. > > > > Fixes: debb27ea3442 ("crypto/mlx5: create login object

Re: [dpdk-dev] [EXT] [PATCH] crypto/mlx5: fix driver probing error flow

2021-07-30 Thread Akhil Goyal
> In crypto driver probing, there are two validations after context > allocation. > > When one of them fails, the context structure was not freed what caused > a memory leak. > > Free it. > > Fixes: debb27ea3442 ("crypto/mlx5: create login object using DevX") > Fixes: e8db4413cba5 ("crypto/mlx5: