IB/mthca: Fix memory leaks in error handling
authorJack Morgenstein <jackm@mellanox.co.il>
Thu, 12 Jan 2006 23:35:15 +0000 (15:35 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 12 Jan 2006 23:35:15 +0000 (15:35 -0800)
commit17e2e819517d75f2f3407e59c5f7f6f0ef305d14
treebe0be0430b4650a01fa51d0f00a59c95d41384ca
parent59f174faffd5dfee709fa0ead320cc6daf827e93
IB/mthca: Fix memory leaks in error handling

Fix memory leaks in mthca_create_qp() and mthca_create_srq()
error handling.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_provider.c