Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent cd9281d8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -890,6 +890,8 @@ struct ib_srq *ehca_create_srq(struct ib_pd *pd,
		goto create_srq2;
	}

	ehca_free_fw_ctrlblock(mqpcb);

	return &my_qp->ib_srq;

create_srq2: