[PATCH] net/mlx5/hws: fix memory leak on general pool db init

Raslan Darawsheh rasland at nvidia.com
Sun Feb 12 14:34:39 CET 2023


Hi,

> -----Original Message-----
> From: Alex Vesker <valex at nvidia.com>
> Sent: Wednesday, January 11, 2023 9:49 PM
> To: Alex Vesker <valex at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; NBU-Contact-Thomas Monjalon (EXTERNAL)
> <thomas at monjalon.net>; Suanming Mou <suanmingm at nvidia.com>;
> Matan Azrad <matan at nvidia.com>
> Cc: dev at dpdk.org; Ori Kam <orika at nvidia.com>
> Subject: [PATCH] net/mlx5/hws: fix memory leak on general pool db init
> 
> On elemend db init we allocated the element_manager which was unused
> and not freed.
> 
> Fixes: b4dd7bcb0dcbe ("net/mlx5/hws: add pool and buddy")
> Signed-off-by: Alex Vesker <valex at nvidia.com>
> Reviewed-by: Erez Shitrit <erezsh at nvidia.com>
> ---

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list