summaryrefslogtreecommitdiff
path: root/include/rdma/ib_verbs.h
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2006-06-18 03:37:41 (GMT)
committerRoland Dreier <rolandd@cisco.com>2006-06-18 03:37:41 (GMT)
commitc9c5d9feef86debee4d8e77a738ad86877cf371a (patch)
tree692adc21d8337a063be7e159860ded87b6e6829a /include/rdma/ib_verbs.h
parent3463175d6ee55fdbd5cda2a03415e2068599b2b7 (diff)
downloadlinux-fsl-qoriq-c9c5d9feef86debee4d8e77a738ad86877cf371a.tar.xz
IB/mthca: Fix memory leak on modify_qp error paths
Some error paths after the mthca_alloc_mailbox() call in mthca_modify_qp() just do a "return -EINVAL" without freeing the mailbox. Convert these returns to "goto out" to avoid leaking the mailbox storage. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma/ib_verbs.h')
0 files changed, 0 insertions, 0 deletions