dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/block
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
..
aoe [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
paride [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
DAC960.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
DAC960.h [PATCH] drivers/block/DAC960: convert 'boolean' to 'bool' 2007-02-11 11:18:06 -08:00
Kconfig xen: add virtual block device driver. 2007-07-18 08:47:45 -07:00
Makefile Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n 2007-07-29 17:37:45 -07:00
amiflop.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ataflop.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
cciss.c cciss: fix memory leak 2007-07-31 15:39:43 -07:00
cciss.h [PATCH] cciss: add support for 1024 logical volumes 2006-12-07 08:39:30 -08:00
cciss_cmd.h [PATCH] cciss: add support for 1024 logical volumes 2006-12-07 08:39:30 -08:00
cciss_scsi.c [SCSI] cciss: convert to use the data buffer accessors 2007-05-29 11:22:13 -05:00
cciss_scsi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqarray.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
cpqarray.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cryptoloop.c [BLOCK] cryptoloop: Use block ciphers where applicable 2006-09-21 11:45:53 +10:00
floppy.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ida_cmd.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ida_ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lguest_blk.c lguest: documentation III: Drivers 2007-07-26 11:35:17 -07:00
loop.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
nbd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
pktcdvd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ps2esdi.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ps3disk.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
rd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
smart1,2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sunvdc.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
swim3.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
sx8.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ub.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
umem.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
viodasd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
xd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
xd.h [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
xen-blkfront.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
xsysace.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
z2ram.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00