]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/umad: fix memory leaks
authorJack Morgenstein <jackm@mellanox.co.il>
Fri, 9 Dec 2005 21:46:32 +0000 (13:46 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 9 Dec 2005 21:46:32 +0000 (13:46 -0800)
commit0efc4883a6b3de12476cd7a35e638c0a9f5fd75f
tree5d15957003282be61923d1ba475b49538ec87ac9
parentde1bb1a64c29bae4f5330c70bd1dc6a62954c9f4
IB/umad: fix memory leaks

Don't leak packet if it had a timeout, and don't leak timeout struct
if queue_packet() fails.

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/core/user_mad.c