]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/mthca: fix memory user DB table leak
authorJack Morgenstein <jackm@mellanox.co.il>
Fri, 9 Dec 2005 21:48:50 +0000 (13:48 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 9 Dec 2005 21:48:50 +0000 (13:48 -0800)
commit52d0df153c987e4ad57d15f5df91848f65858e5d
treef6c199504a940994344a1e89bfbeea953f092ef1
parent0efc4883a6b3de12476cd7a35e638c0a9f5fd75f
IB/mthca: fix memory user DB table leak

Free the memory allocated in mthca_init_user_db_tab() when releasing
the db_tab in mthca_cleanup_user_db_tab().

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