coreboot-kgpe-d16/src/device
Daniele Forsi f9ce88e942 device/oprom/realmode/x86.c: Fix memory leak
Do not allocate memory if the bootsplash was not found.
Found by Cppcheck 1.65. Fixes:
[src/device/oprom/realmode/x86.c:280]: (error) Memory leak: decdata

Change-Id: I8f8160d3d349c0c2b2a3ed84461729e9210153d8
Signed-off-by: Daniele Forsi <dforsi@gmail.com>
Reviewed-on: http://review.coreboot.org/6376
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
2014-07-28 23:13:48 +02:00
..
dram gizmosphere/gizmo: Move support of SPD data in CBFS 2014-07-05 11:41:52 +02:00
oprom device/oprom/realmode/x86.c: Fix memory leak 2014-07-28 23:13:48 +02:00
agp_device.c GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
azalia_device.c Add a generic Intel HD audio (Azalia) module azalia_device.c 2013-08-13 10:12:52 +02:00
cardbus_device.c GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
cpu_device.c device: Trivial - drop trailing blank lines at EOF 2014-07-08 13:52:03 +02:00
device.c PCI: Guard pci.h with CONFIG_PCI 2014-02-12 21:56:30 +01:00
device_romstage.c device: Trivial - drop trailing blank lines at EOF 2014-07-08 13:52:03 +02:00
device_util.c device/device_util.c: Fix wording in comment of new_resource() 2014-06-11 20:37:50 +02:00
hypertransport.c device: Fix spelling 2013-07-10 20:17:25 +02:00
Kconfig src/device/Kconfig: make help for VGA_BIOS_ID and PXE_ROM_ID more similar 2014-07-23 10:17:35 +02:00
Makefile.inc device,Makefile.inc: Trivial - drop trailing blank lines at EOF 2014-07-17 02:19:57 +02:00
pci_device.c device/pci_device.c: Sanitize headers 2014-06-25 11:32:24 +02:00
pci_early.c device/pci_early.c: Mixes up variants of a typedefs to 'u32' 2014-07-19 11:57:06 +02:00
pci_ops.c Redefine pci_bus_default_ops as function 2013-07-25 11:35:58 +02:00
pci_rom.c GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
pciexp_device.c GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
pcix_device.c GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
pnp_device.c pnp: Implement common handling for PnP config modes 2013-06-17 21:39:40 +02:00
root_device.c GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
smbus_ops.c smbus: Add guards to avoid calling NULL. 2014-02-01 18:38:32 +01:00