]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
IB/ipath: Fix memory leak if allocation fails
authorBryan O'Sullivan <bos@pathscale.com>
Thu, 28 Sep 2006 15:59:58 +0000 (08:59 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 28 Sep 2006 18:16:23 +0000 (11:16 -0700)
commit221e31985b490309eb9ae33ac815deae3b5aa021
treeb18590bafe833354d80e03f2184d40d2e6ad4551
parent6022943eb4cb3cb9e43f27f1faeaba38e162d966
IB/ipath: Fix memory leak if allocation fails

If the second allocation failed, the first structure allocated in this
routine was not freed.

Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_driver.c