Skip to content
Commit c8c2a057 authored by Navid Emamdoost's avatar Navid Emamdoost Committed by Saeed Mahameed
Browse files

net/mlx5: prevent memory leak in mlx5_fpga_conn_create_cq

In mlx5_fpga_conn_create_cq if mlx5_vector2eqn fails the allocated
memory should be released.

Fixes: 537a5057

 ("net/mlx5: FPGA, Add high-speed connection routines")
Signed-off-by: default avatarNavid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 61ea02d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment