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.h
dell_rbu.c
dmi_scan.c
dmi-id.c
edd.c
efivars.c
iscsi_boot_sysfs.c
iscsi_ibft_find.c
iscsi_ibft.c
Kconfig
Makefile
memmap.c
pcdp.c
pcdp.h