linux/drivers/firmware
Axel Lin 1986aaf828 edd: fix possible memory leak in edd_init() error path
The error may happen at any iteration of the for loop, this patch properly
unregisters already registed edd_devices in error path.

[akpm@linux-foundation.org: remove unneeded NULL test]
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-09 20:45:09 -07:00
..
dcdbas.c dcdbas: remove a redundant smi_data_buf_free in dcdbas_exit 2010-08-05 13:53:34 -07:00
dcdbas.h dcdbas: export functionality for use in other drivers 2009-01-08 08:31:12 -08:00
dell_rbu.c sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
dmi_scan.c PCI: export SMBIOS provided firmware instance and label to sysfs 2010-07-30 09:36:01 -07:00
dmi-id.c dmi-id: fix a memory leak in dmi_id_init error path 2010-08-05 13:53:34 -07:00
edd.c edd: fix possible memory leak in edd_init() error path 2010-08-09 20:45:09 -07:00
efivars.c sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
iscsi_boot_sysfs.c ibft: separate ibft parsing from sysfs interface 2010-05-11 13:02:38 -04:00
iscsi_ibft_find.c ibft: Use IBFT_SIGN instead of open-coding the search string. 2010-05-12 10:33:09 -04:00
iscsi_ibft.c ibft: convert iscsi_ibft module to iscsi boot lib 2010-05-11 13:02:38 -04:00
Kconfig ibft: convert iscsi_ibft module to iscsi boot lib 2010-05-11 13:02:38 -04:00
Makefile ibft: separate ibft parsing from sysfs interface 2010-05-11 13:02:38 -04:00
memmap.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pcdp.c [IA64] Convert ia64 to use int-ll64.h 2009-06-17 09:33:49 -07:00
pcdp.h [IA64] Make PCDP work again. 2005-07-13 11:56:32 -07:00