kernel-ark/drivers
Jesper Juhl f2912a1223 cciss: fix memory leak
There's a memory leak in the cciss driver.

in alloc_cciss_hba() we may leak sizeof(ctlr_info_t) bytes if a
call to alloc_disk(1 << NWD_SHIFT) fails.
This patch should fix the issue.

Spotted by the Coverity checker.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Acked-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-31 15:39:43 -07:00
..
acorn/char Remove the arm26 port 2007-07-31 15:39:39 -07:00
acpi
amba
ata
atm
auxdisplay
base CPU online file permission 2007-07-31 15:39:39 -07:00
block cciss: fix memory leak 2007-07-31 15:39:43 -07:00
bluetooth
cdrom
char ipmi: Fix mem leak in try_init_dmi() 2007-07-31 15:39:41 -07:00
clocksource
connector
cpufreq
crypto
dio
dma
edac
eisa
fc4
firewire
firmware
hid
hwmon
i2c
ide Remove the arm26 port 2007-07-31 15:39:39 -07:00
ieee1394
infiniband in-string typos of "error" 2007-07-31 15:39:40 -07:00
input
isdn
kvm
leds
lguest
macintosh
mca
md md: handle writes to broken raid10 arrays gracefully 2007-07-31 15:39:38 -07:00
media V4L/DVB (5939): dvb-pll: make struct dvb_pll_fcv1236d static 2007-07-30 16:26:37 -03:00
message
mfd
misc
mmc
mtd
net Typo fixes errror -> error 2007-07-31 15:39:42 -07:00
nubus
of
oprofile
parisc
parport parport_pc locking fix 2007-07-31 15:39:37 -07:00
pci
pcmcia pcmcia: give socket time to power down 2007-07-31 15:39:38 -07:00
pnp
power
ps3
rapidio
rtc Remove the arm26 port 2007-07-31 15:39:39 -07:00
s390 Typo fixes errror -> error 2007-07-31 15:39:42 -07:00
sbus Videopix Frame Grabber: Fix unreleased lock in vfc_debug() 2007-07-31 15:39:43 -07:00
scsi Remove the arm26 port 2007-07-31 15:39:39 -07:00
serial sb1250-duart: __maybe_unused, etc. fixes 2007-07-31 15:39:43 -07:00
sh
sn
spi spi_mpc83xx: support loopback mode 2007-07-31 15:39:40 -07:00
tc
telephony
uio
usb USB: "sparse" cleanups for usb gadgets 2007-07-30 13:27:47 -07:00
video remove tx3912fb 2007-07-31 15:39:41 -07:00
w1
xen
zorro
Kconfig
Makefile