commit | d63c46734c545ad0488761059004a65c46efdde3 | [log] [tgz] |
---|---|---|
author | Kamal Heib <kamalheib1@gmail.com> | Tue Jul 10 11:56:50 2018 +0300 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Wed Jul 11 14:16:13 2018 -0600 |
tree | 71e29caa5e21937df10c67a67a859bbd703d1294 | |
parent | fe48aecb4df837540f13b5216f27ddb306aaf4b9 [diff] |
RDMA/mlx5: Fix memory leak in mlx5_ib_create_srq() error path Fix memory leak in the error path of mlx5_ib_create_srq() by making sure to free the allocated srq. Fixes: c2b37f76485f ("IB/mlx5: Fix integer overflows in mlx5_ib_create_srq") Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Acked-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>