提交 03f72a51 编写于 作者: H Hoang-Nam Nguyen 提交者: Roland Dreier

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

Signed-off-by: NHoang-Nam Nguyen <hnguyen@de.ibm.com>
Signed-off-by: NRoland Dreier <rolandd@cisco.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册