linux/drivers/firmware/efi
Dan Carpenter f563d48252 efi: Small leak on error in runtime map code
commit 86d68a58d0 upstream.

The "> 0" here should ">= 0" so we free map_entries[0].

Fixes: 926172d460 ('efi: Export EFI runtime memory mapping to sysfs')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Dave Young <dyoung@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2015-03-18 13:31:33 +01:00
..
cper.c Move cper.c from drivers/acpi/apei to drivers/firmware/efi 2013-10-31 11:27:04 -07:00
efi-pstore.c efi-pstore: Fix an overflow on 32-bit builds 2014-06-30 20:12:02 -07:00
efi-stub-helper.c efi: Pass correct file handle to efi_file_{read,close} 2014-05-06 07:59:29 -07:00
efi.c efi: Export EFI runtime memory mapping to sysfs 2013-12-21 15:29:36 +00:00
efivars.c efivars, efi-pstore: Hold off deletion of sysfs entry until the scan is completed 2013-11-28 20:16:55 +00:00
Kconfig Linux 3.13-rc7 2014-01-05 12:34:29 +01:00
Makefile Linux 3.13-rc7 2014-01-05 12:34:29 +01:00
runtime-map.c efi: Small leak on error in runtime map code 2015-03-18 13:31:33 +01:00
vars.c firmware: Do not use WARN_ON(!spin_is_locked()) 2014-09-17 09:19:08 -07:00