Re: [dpdk-dev] [PATCH] regex/mlx5: fix RegEx probing error flow
From: Matan Azrad <hidden>
Date: 2021-09-01 07:47:20
From: Matan Azrad <hidden>
Date: 2021-09-01 07:47:20
From: Michael Baum
In RegEx device probing, there is register read trying after context device
creation.
When the reading fails, the context device was not freed what caused a
memory leak.
Free it.
Fixes: f324162e8e77 ("regex/mlx5: support combined rule file")
Cc: stable@dpdk.org
Signed-off-by: Michael Baum <redacted>Acked-by: Matan Azrad <redacted>