net/mlx5: Fix memory leak when setting fpga ipsec caps
Allocated memory for context should be freed once finished working with it. Fixes: d6c4f029 ("net/mlx5: Refactor accel IPSec code") Signed-off-by: NTalat Batheesh <talatb@mellanox.com> Reviewed-by: NOr Gerlitz <ogerlitz@mellanox.com> Reviewed-by: NTariq Toukan <tariqt@mellanox.com> Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
Showing
想要评论请 注册 或 登录