aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_sysfs.c
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@pathscale.com>2006-09-28 08:59:58 -0700
committerRoland Dreier <rolandd@cisco.com>2006-09-28 11:16:23 -0700
commit221e31985b490309eb9ae33ac815deae3b5aa021 (patch)
treeb18590bafe833354d80e03f2184d40d2e6ad4551 /drivers/infiniband/hw/ipath/ipath_sysfs.c
parent6022943eb4cb3cb9e43f27f1faeaba38e162d966 (diff)
downloadlinux-221e31985b490309eb9ae33ac815deae3b5aa021.tar.gz
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>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_sysfs.c')
0 files changed, 0 insertions, 0 deletions