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)
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>

No differences found