git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3463175
)
IB/mthca: Fix memory leak on modify_qp error paths
author
Roland Dreier
<rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:41 +0000
(20:37 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:41 +0000
(20:37 -0700)
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>
No differences found