Commit 03f72a51 authored by Hoang-Nam Nguyen's avatar Hoang-Nam Nguyen Committed by Roland Dreier

IB/ehca: Fix mem leak of firmware ctrlblock in ehca_create_srq()

Signed-off-by: default avatarHoang-Nam Nguyen <hnguyen@de.ibm.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent cd9281d8
...@@ -890,6 +890,8 @@ struct ib_srq *ehca_create_srq(struct ib_pd *pd, ...@@ -890,6 +890,8 @@ struct ib_srq *ehca_create_srq(struct ib_pd *pd,
goto create_srq2; goto create_srq2;
} }
ehca_free_fw_ctrlblock(mqpcb);
return &my_qp->ib_srq; return &my_qp->ib_srq;
create_srq2: create_srq2:
......
Markdown is supported
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